]> git.tdb.fi Git - libs/gl.git/blobdiff - tests/glsl/expression_inline_iteration.glsl
Fix GLSL test cases so they pass the basic tests
[libs/gl.git] / tests / glsl / expression_inline_iteration.glsl
index 4a125099ddc78eeb0389f6897795285d54259e7a..9f12880f0ba646c14a843cc295ea2463a793d8d5 100644 (file)
@@ -16,6 +16,8 @@ void main()
        gl_Position = position+vec4(step, 0.0, 0.0, 0.0);
 }
 
+// Target API: Vulkan
+
 /* Expected output: vertex
 layout(location=0) in vec4 position;
 layout(location=1) in vec3 direction;
@@ -30,6 +32,6 @@ void main()
                        break;
                step = i;
        }
-       gl_Position = position+vec4(step, 0.0, 0.0, 0.0);
+       gl_Position = position+vec4(float(step), 0.0, 0.0, 0.0);
 }
 */