]> git.tdb.fi Git - libs/gl.git/blob - tests/glsl/disallowed_types.glsl
Disallow certain types from appearing on variables
[libs/gl.git] / tests / glsl / disallowed_types.glsl
1 uniform bool u_bool;
2
3 #pragma MSP stage(vertex)
4 void void_var;
5 layout(location=0) in vec4 position;
6 void main()
7 {
8         gl_Position = position;
9 }
10
11 /* Expected error:
12 <test>:1: Type 'bool' not allowed on interface variable
13 <test>:4: Type 'void' not allowed on variable
14 */