[gtk+] vulkan: Get rid of color in push constants
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] vulkan: Get rid of color in push constants
- Date: Tue, 20 Dec 2016 17:14:58 +0000 (UTC)
commit 1760e0d3f3d9f447bfdb1c29675497d23a60fd4f
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]