[gtk+/wip/otte/rendernode: 12/30] vulkan: Get rid of color in push	constants
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gtk+/wip/otte/rendernode: 12/30] vulkan: Get rid of color in push	constants
- Date: Mon, 19 Dec 2016 18:48:24 +0000 (UTC)
commit f44e301ba8753bf10acee28a5e2634645bf292d9
Author: Benjamin Otte <otte redhat com>
Date:   Sun Dec 18 07:08:37 2016 +0100
    vulkan: Get rid of color in push constants
    
    The color comes in instance data now, no need to abuse push constants
    for it.
 gsk/resources/vulkan/color.frag.glsl |    5 -----
 gsk/resources/vulkan/color.frag.spv  |  Bin 672 -> 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 cbac7ed..68d77d7 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 2865771..98c661d 100644
Binary files a/gsk/resources/vulkan/color.frag.spv and b/gsk/resources/vulkan/color.frag.spv differ
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]