]> git.tdb.fi Git - libs/gl.git/blobdiff - tests/glsl/function_inline_name_conflict.glsl
Fix GLSL test cases so they pass the basic tests
[libs/gl.git] / tests / glsl / function_inline_name_conflict.glsl
index 93c4eca32c761f1204af41a472ef43927e96354f..f9a6f0c9186f22416e13e69535825e80d51be166 100644 (file)
@@ -12,13 +12,15 @@ void main()
        gl_Position = position*func()*s*s;
 }
 
+// Target API: Vulkan
+
 /* Expected output: vertex
 layout(location=0) in vec4 position;
 layout(location=1) in float scale;
 void main()
 {
        float s = scale+1.0;
-       float _func_s = scale*2.0;
-       gl_Position = position*_func_s*_func_s*s*s;
+       float s_1 = scale*2.0;
+       gl_Position = position*s_1*s_1*s*s;
 }
 */