Commit dd0c132e authored by Danylo Piliaiev's avatar Danylo Piliaiev Committed by Jordan Justen

glsl-1.20: test that 'invariant' qualifier does not propagate on uniforms

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100316Signed-off-by: Danylo Piliaiev's avatarDanylo Piliaiev <danylo.piliaiev@globallogic.com>
Reviewed-by: Jordan Justen's avatarJordan Justen <jordan.l.justen@intel.com>
parent 15e2e004
[require]
GLSL >= 1.20
# This test exercises a Mesa GLSL bug where 'invariant' qualifier
# propagated on uniforms causing a linker failure due to mismatch
# of uniforms declaration between stages.
[vertex shader]
#version 120
uniform float t;
invariant gl_Position;
void main()
{
gl_Position = vec4(t);
}
[fragment shader]
#version 120
uniform float t;
void main()
{
}
[test]
link success
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment