]> git.tdb.fi Git - libs/gl.git/blobdiff - tests/glsl/complex_constant_condition_removal.glsl
Test case tweaks
[libs/gl.git] / tests / glsl / complex_constant_condition_removal.glsl
index 8a9d96ac5c77581cee1f4e0536a97b254be19a6b..5a2c588f07b9b76df91334be57a058ccf0198734 100644 (file)
@@ -15,7 +15,7 @@ void main()
 layout(location=0) out vec4 frag_color;
 void main()
 {
-       if(lod+bias<threshold)
+       if(!(lod+bias>threshold))
                frag_color = color;
        else
                frag_color = vec4(1.0);