X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=tests%2Fglsl%2Fbinary_operators.glsl;h=8e2520c83c7b9458584b6d92f1da51c0d2264ad2;hp=06c367f24f71a745b0abab27e62bf0cc909f97f5;hb=f639d088c478fe5d266f9f5779928735b5176976;hpb=cb8ee1f5ea24a5f7b561fc88d4ff5af3ae364038 diff --git a/tests/glsl/binary_operators.glsl b/tests/glsl/binary_operators.glsl index 06c367f2..8e2520c8 100644 --- a/tests/glsl/binary_operators.glsl +++ b/tests/glsl/binary_operators.glsl @@ -4,6 +4,7 @@ void main() int i = 0; i = i-3; float f = 0; + f = i+1; f = (f+i)*(f/i); bool b = i=f; b = b && i==f; @@ -31,7 +32,8 @@ void main() { int i = 0; i = i-3; - float f = float(0); + float f; + f = float(i+1); f = (f+float(i))*(f/float(i)); bool b = float(i)=f; b = b&&float(i)==f;