demos: Update to single layout
authorCourtney Goeltzenleuchter <courtney@LunarG.com>
Wed, 25 Feb 2015 22:13:35 +0000 (15:13 -0700)
committerCourtney Goeltzenleuchter <courtney@LunarG.com>
Thu, 26 Feb 2015 00:15:47 +0000 (17:15 -0700)
demos/cube.c

index 37db0de..0ebbf99 100644 (file)
@@ -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"