summaryrefslogtreecommitdiff
path: root/gsk
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2016-12-18 07:08:37 +0100
committerBenjamin Otte <otte@redhat.com>2016-12-20 18:01:11 +0100
commit1760e0d3f3d9f447bfdb1c29675497d23a60fd4f (patch)
tree631ba25f86be2a99aac7dc54559ab844a733bbf2 /gsk
parent1b90ce6b334f77e4bc48a9db18332962c4e342a8 (diff)
downloadgtk+-1760e0d3f3d9f447bfdb1c29675497d23a60fd4f.tar.gz
vulkan: Get rid of color in push constants
The color comes in instance data now, no need to abuse push constants for it.
Diffstat (limited to 'gsk')
-rw-r--r--gsk/resources/vulkan/color.frag.glsl5
-rw-r--r--gsk/resources/vulkan/color.frag.spvbin672 -> 444 bytes
2 files changed, 0 insertions, 5 deletions
diff --git a/gsk/resources/vulkan/color.frag.glsl b/gsk/resources/vulkan/color.frag.glsl
index cbac7ed961..68d77d72f9 100644
--- a/gsk/resources/vulkan/color.frag.glsl
+++ b/gsk/resources/vulkan/color.frag.glsl
@@ -2,11 +2,6 @@
layout(location = 0) in vec4 inColor;
-layout(push_constant) uniform PushConstants {
- mat4 mvp;
- vec4 color;
-} push;
-
layout(location = 0) out vec4 color;
void main()
diff --git a/gsk/resources/vulkan/color.frag.spv b/gsk/resources/vulkan/color.frag.spv
index 2865771377..98c661da19 100644
--- a/gsk/resources/vulkan/color.frag.spv
+++ b/gsk/resources/vulkan/color.frag.spv
Binary files differ