]> git.tdb.fi Git - libs/gl.git/blobdiff - tests/glsl/constructors.glsl
Assign bindings to all uniform blocks and sampler uniforms
[libs/gl.git] / tests / glsl / constructors.glsl
index d10dacf51dce9a6a6f04be0f779a8eb9c82262ea..ddb1dceae6f1c811bf8fde17cf3a0a9e1db8f314 100644 (file)
@@ -47,7 +47,7 @@ void main()
 */
 
 /* Expected output: fragment
-layout(location=9) uniform sampler2D normalmap;
+layout(location=9, binding=25) uniform sampler2D normalmap;
 layout(location=0) out vec4 frag_color;
 layout(location=1) in vec2 _vs_out_texcoord;
 layout(location=0) in vec3 tbn_light_dir;