]> git.tdb.fi Git - libs/gl.git/blobdiff - tests/glsl/invalid_expressions.glsl
Additional rules for bit shift operators
[libs/gl.git] / tests / glsl / invalid_expressions.glsl
index 996b0d355fecc09b2ce14d51f134672e12fa035f..2e67b76e01db0675ffc0a0d68ecce9a41109cb96 100644 (file)
@@ -12,6 +12,8 @@ void main()
        vec3 v;
        m*m;
        v*m;
+       ivec3 iv;
+       i<<iv;
 }
 
 /* Expected error:
@@ -24,4 +26,5 @@ void main()
 <test>:10: No matching operator '/' found for 'int' and 'float'
 <test>:13: No matching operator '*' found for 'mat3x2' and 'mat3x2'
 <test>:14: No matching operator '*' found for 'vec3' and 'mat3x2'
+<test>:16: No matching operator '<<' found for 'int' and 'ivec3'
 */