]> git.tdb.fi Git - libs/gl.git/blobdiff - tests/glsl/binary_operators.glsl
Convert operands of shift operators to the same vector size
[libs/gl.git] / tests / glsl / binary_operators.glsl
index 0782b15a0a1bad76ed1aae2a5e2d029d20c4234f..d84962861e689408111836121181a1453c08e3e2 100644 (file)
@@ -47,7 +47,7 @@ void main()
        b = b||i!=j;
        ivec2 iv;
        i = i<<j;
-       iv = iv>>i;
+       iv = iv>>ivec2(i);
        mat4x2 m1;
        mat2x4 m2;
        vec4 v1 = vec4(1.0);