[gtk+] vulkan: Fix copy/paste error
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] vulkan: Fix copy/paste error
- Date: Wed, 18 Jan 2017 15:46:57 +0000 (UTC)
commit ee9828d49c7d6540361486c1edd16ac8916521bb
Author: Benjamin Otte <otte redhat com>
Date: Wed Jan 18 16:46:04 2017 +0100
vulkan: Fix copy/paste error
.../vulkan/outset-shadow-clip-rounded.frag.spv | Bin 20680 -> 10672 bytes
gsk/resources/vulkan/outset-shadow-clip.frag.spv | Bin 20028 -> 10020 bytes
gsk/resources/vulkan/outset-shadow.frag | 2 +-
gsk/resources/vulkan/outset-shadow.frag.spv | Bin 20028 -> 10020 bytes
4 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gsk/resources/vulkan/outset-shadow-clip-rounded.frag.spv
b/gsk/resources/vulkan/outset-shadow-clip-rounded.frag.spv
index 59bf2ed..d894d2c 100644
Binary files a/gsk/resources/vulkan/outset-shadow-clip-rounded.frag.spv and
b/gsk/resources/vulkan/outset-shadow-clip-rounded.frag.spv differ
diff --git a/gsk/resources/vulkan/outset-shadow-clip.frag.spv
b/gsk/resources/vulkan/outset-shadow-clip.frag.spv
index e191c42..9e3ded5 100644
Binary files a/gsk/resources/vulkan/outset-shadow-clip.frag.spv and
b/gsk/resources/vulkan/outset-shadow-clip.frag.spv differ
diff --git a/gsk/resources/vulkan/outset-shadow.frag b/gsk/resources/vulkan/outset-shadow.frag
index 0d496a6..419e458 100644
--- a/gsk/resources/vulkan/outset-shadow.frag
+++ b/gsk/resources/vulkan/outset-shadow.frag
@@ -20,7 +20,7 @@ void main()
color = vec4(inColor.rgb * inColor.a, inColor.a);
color = color * clamp (rounded_rect_coverage (outside, inPos - inOffset) -
- rounded_rect_coverage (outline, inPos - inOffset),
+ rounded_rect_coverage (outline, inPos),
0.0, 1.0);
color = clip (inPos, color);
}
diff --git a/gsk/resources/vulkan/outset-shadow.frag.spv b/gsk/resources/vulkan/outset-shadow.frag.spv
index e191c42..9e3ded5 100644
Binary files a/gsk/resources/vulkan/outset-shadow.frag.spv and b/gsk/resources/vulkan/outset-shadow.frag.spv
differ
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]