]> git.tdb.fi Git - libs/gl.git/blobdiff - tests/glsl/alias_types.glsl
Allocate locations to interface variables
[libs/gl.git] / tests / glsl / alias_types.glsl
index 8e6e9a91172f458ce594a2cdaf9ca525f940e0c7..0fda73e30ecc5c9d6b50bf83bc0b9118559c2eaf 100644 (file)
@@ -11,7 +11,7 @@ void main()
 }
 
 /* Expected output: vertex
-uniform mat4 mvp;
+layout(location=0) uniform mat4 mvp;
 layout(location=0) in vec4 position;
 void main()
 {