]> git.tdb.fi Git - libs/gl.git/blobdiff - tests/glsl/geometry_interface_block.glsl
Allocate locations to interface variables
[libs/gl.git] / tests / glsl / geometry_interface_block.glsl
index 9f3fae5bed1a88d8204df98b60c93227ec251344..fb9a2aa00ad53cebd6ba61028a26dbf62d2b2b62 100644 (file)
@@ -72,7 +72,7 @@ void main()
 */
 
 /* Expected output: fragment
-uniform sampler2D tex;
+layout(location=0) uniform sampler2D tex;
 layout(location=0) out vec4 frag_color;
 in GeometryOut
 {