diff options
Diffstat (limited to 'tests/spec/glsl-es-3.00/compiler/const-initializer/from-function.vert')
-rw-r--r-- | tests/spec/glsl-es-3.00/compiler/const-initializer/from-function.vert | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/spec/glsl-es-3.00/compiler/const-initializer/from-function.vert b/tests/spec/glsl-es-3.00/compiler/const-initializer/from-function.vert new file mode 100644 index 000000000..851ba76ef --- /dev/null +++ b/tests/spec/glsl-es-3.00/compiler/const-initializer/from-function.vert @@ -0,0 +1,14 @@ +#version 300 es + +/* [config] + * expect_result: pass + * glsl_version: 3.00 + * [end config] + */ + +const float f = cos(0.0); + +void main() +{ + gl_Position = vec4(f); +} |