]> git.tdb.fi Git - libs/gl.git/blobdiff - tests/glsl/inexact_function_argument_type.glsl
Check the flat qualifier from the correct member
[libs/gl.git] / tests / glsl / inexact_function_argument_type.glsl
index 2bbece37f5b70039600d259138f8b2f54043314a..e6a98af71c8b4f694a0bdfefdae70942d4d3d227 100644 (file)
@@ -9,10 +9,12 @@ void main()
        gl_Position = vec4(scale(position.xy, 2), 0.0, 1.0);
 }
 
+// Target API: Vulkan
+
 /* Expected output: vertex
 layout(location=0) in vec4 position;
 void main()
 {
-       gl_Position = vec4(position.xy*float(2), 0.0, 1.0);
+       gl_Position = vec4(position.xy*2.0, 0.0, 1.0);
 }
 */