]> git.tdb.fi Git - libs/gl.git/blobdiff - tests/glsl/no_op_conversion.glsl
Fix GLSL test cases so they pass the basic tests
[libs/gl.git] / tests / glsl / no_op_conversion.glsl
index f0f887e9d8ec11f13af4f82123326cebd0b8bc47..5bc3f74675715be6b766577e141bccbc8afa3906 100644 (file)
@@ -1,4 +1,7 @@
-uniform mat4 mvp;
+layout(push_constant) uniform Transform
+{
+       mat4 mvp;
+};
 
 #pragma MSP stage(vertex)
 layout(location=0) in vec4 position;
@@ -7,8 +10,13 @@ void main()
        gl_Position = mat4(mvp)*vec4(position);
 }
 
+// Target API: Vulkan
+
 /* Expected output: vertex
-layout(location=0) uniform mat4 mvp;
+layout(push_constant) uniform Transform
+{
+  mat4 mvp;
+};
 layout(location=0) in vec4 position;
 void main()
 {