]> git.tdb.fi Git - libs/gl.git/blobdiff - tests/glsl/unary_operators.glsl
Redesign ExpressionInliner
[libs/gl.git] / tests / glsl / unary_operators.glsl
index a04d24f703e624fc92e7ced2c5c064388e239b4d..bd9803b2bfba7f8b807de165692da5722bd35ecb 100644 (file)
@@ -16,8 +16,8 @@ void main()
 /* Expected output: vertex
 void main()
 {
-       int i = 0;
-       i = -~i;
+       int i;
+       i = 1;
        ++i;
        --i;
        i++;