projects
/
platform
/
upstream
/
Vulkan-LoaderAndValidationLayers.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f73aae
)
demos: Update to single layout
author
Courtney Goeltzenleuchter
<courtney@LunarG.com>
Wed, 25 Feb 2015 22:13:35 +0000
(15:13 -0700)
committer
Courtney Goeltzenleuchter
<courtney@LunarG.com>
Thu, 26 Feb 2015 00:15:47 +0000
(17:15 -0700)
demos/cube.c
patch
|
blob
|
history
diff --git
a/demos/cube.c
b/demos/cube.c
index
37db0de
..
0ebbf99
100644
(file)
--- a/
demos/cube.c
+++ b/
demos/cube.c
@@
-1258,7
+1258,7
@@
static XGL_SHADER demo_prepare_fs(struct demo *demo)
"#version 140\n"
"#extension GL_ARB_separate_shader_objects : enable\n"
"#extension GL_ARB_shading_language_420pack : enable\n"
- "layout (binding =
0
) uniform sampler2D tex;\n"
+ "layout (binding =
1
) uniform sampler2D tex;\n"
"\n"
"layout (location = 0) in vec4 texcoord;\n"
"void main() {\n"