]> git.tdb.fi Git - libs/gl.git/blobdiff - tests/glsl/unary_operators.glsl
Fix GLSL test cases so they pass the basic tests
[libs/gl.git] / tests / glsl / unary_operators.glsl
index a04d24f703e624fc92e7ced2c5c064388e239b4d..9b45a05fa943aa5a3c6e296a83fabcddee15d74a 100644 (file)
@@ -13,16 +13,18 @@ void main()
        ++arr[0];
 }
 
+// Target API: Vulkan
+
 /* Expected output: vertex
 void main()
 {
-       int i = 0;
-       i = -~i;
+       int i;
+       i = 1;
        ++i;
        --i;
        i++;
        i--;
-       int arr[3];
-       ++arr[0];
+       int arr_0;
+       ++arr_0;
 }
 */