]> git.tdb.fi Git - libs/gl.git/blob - tests/glsl/undeclared.glsl
Remove fallback from Assignment to BinaryExpression in TraversingVisitor
[libs/gl.git] / tests / glsl / undeclared.glsl
1 uniform Transform
2 {
3         mat4 mvp;
4 } transform;
5
6 #pragma MSP stage(vertex)
7 void main()
8 {
9         gl_Position = transform.model*position;
10 }
11
12 /* Expected error:
13 <test>:9: Use of undeclared member 'model'
14 <test>:9: Use of undeclared variable 'position'
15 */