]> git.tdb.fi Git - libs/gl.git/blobdiff - tests/glsl/function_inline_multi_name_conflict.glsl
Fix GLSL test cases so they pass the basic tests
[libs/gl.git] / tests / glsl / function_inline_multi_name_conflict.glsl
index 6740b94469805ca1386770125b5b175d816f0ffa..7ba4f110f837b29b9b405949f5c927a2f35a9b08 100644 (file)
@@ -17,6 +17,8 @@ void main()
        gl_Position = position*get_scale()*get_size();
 }
 
+// Target API: Vulkan
+
 /* Expected output: vertex
 layout(location=0) in vec4 position;
 layout(location=1) in float scale;
@@ -24,7 +26,7 @@ layout(location=2) in float size;
 void main()
 {
        float s = scale*2.0;
-       float _get_size_s = size*0.5;
-       gl_Position = position*s*s*_get_size_s*_get_size_s;
+       float s_1 = size*0.5;
+       gl_Position = position*s*s*s_1*s_1;
 }
 */