]> git.tdb.fi Git - libs/gl.git/blobdiff - tests/glsl/partially_unused_interface_block.glsl
Assign bindings to all uniform blocks and sampler uniforms
[libs/gl.git] / tests / glsl / partially_unused_interface_block.glsl
index 240ddcfa056567d2f570dabe995ec8645add79c5..7ccdc0d766c032befdd301a5b4f0176c03644ca3 100644 (file)
@@ -28,7 +28,7 @@ void main()
 }
 
 /* Expected output: vertex
-uniform GlobalValues
+layout(binding=72) uniform GlobalValues
 {
        vec4 tint;
        vec2 scale;
@@ -49,7 +49,7 @@ void main()
 */
 
 /* Expected output: fragment
-uniform GlobalValues
+layout(binding=72) uniform GlobalValues
 {
        vec4 tint;
        vec2 scale;