]> git.tdb.fi Git - libs/gl.git/blobdiff - tests/glsl/expression_inline_precedence.glsl
Check the flat qualifier from the correct member
[libs/gl.git] / tests / glsl / expression_inline_precedence.glsl
index 9f37c83b2bd7b490ae21e01d086d493b3c0a00e3..0e35b4d388390efd13c455777de003cf48e59c47 100644 (file)
@@ -1,6 +1,6 @@
 #pragma MSP stage(vertex)
 layout(location=0) in vec4 position;
-layout(location=1) in float v;
+layout(location=1) in vec4 v;
 void main()
 {
        float a = v.x-v.y;
@@ -12,9 +12,11 @@ void main()
        gl_Position = position*(e+f);
 }
 
+// Target API: Vulkan
+
 /* Expected output: vertex
 layout(location=0) in vec4 position;
-layout(location=1) in float v;
+layout(location=1) in vec4 v;
 void main()
 {
        gl_Position = position*((v.x-v.y-(v.z-v.w))+(v.x-v.y)*(v.z-v.w));