aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCourtney Goeltzenleuchter <courtney@LunarG.com>2015-02-25 15:13:35 -0700
committerCourtney Goeltzenleuchter <courtney@LunarG.com>2015-02-25 17:15:47 -0700
commit4d1acf1dd38a1555ea97c6a6d41735d63f3dc036 (patch)
tree5c76d90e4418aa54a89f25fb7d05a002255d5103
parent621f336102c2b6a26edfa398a20da31ddd109aa7 (diff)
downloadusermoji-4d1acf1dd38a1555ea97c6a6d41735d63f3dc036.tar.xz
demos: Update to single layout
-rw-r--r--demos/cube.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/cube.c b/demos/cube.c
index 37db0de9..0ebbf997 100644
--- 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"