[gtk+/wip/otte/rendernode: 6/10] 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: 6/10] vulkan: Get rid of color in push constants
- Date: Sun, 18 Dec 2016 17:55:46 +0000 (UTC)
commit d4740ac19c83dfb224f8036625fadf13b8090ae9
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]