]> git.tdb.fi Git - libs/gl.git/blobdiff - tests/glsl/inexact_function_argument_type.glsl
Fold type conversions of constants
[libs/gl.git] / tests / glsl / inexact_function_argument_type.glsl
index 2bbece37f5b70039600d259138f8b2f54043314a..627fa5d849235e60c0de9a682758c160b2c0577c 100644 (file)
@@ -13,6 +13,6 @@ void main()
 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);
 }
 */