X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=tests%2Fglsl%2Fbinary_operators.glsl;h=edf36ebbee46ec833fd96ccc68a56c4fd5c34adc;hb=fea2752a8abb1de5cc89addc92b804d9ff4fc89a;hp=0782b15a0a1bad76ed1aae2a5e2d029d20c4234f;hpb=a4cd67f1c9f1f375bacacfbb421d40f78a22644b;p=libs%2Fgl.git diff --git a/tests/glsl/binary_operators.glsl b/tests/glsl/binary_operators.glsl index 0782b15a..edf36ebb 100644 --- a/tests/glsl/binary_operators.glsl +++ b/tests/glsl/binary_operators.glsl @@ -47,12 +47,12 @@ void main() b = b||i!=j; ivec2 iv; i = i<>i; + iv = iv>>ivec2(i); mat4x2 m1; mat2x4 m2; vec4 v1 = vec4(1.0); vec2 v3; - v3 = v1*m2+(m2*m1*float(5)*v1).xy+vec2(iv); + v3 = v1*m2+(m2*m1*5.0*v1).xy+vec2(iv); if(b) ++v3; }