Commit cc83192b authored by Lars's avatar Lars Committed by Dylan Baker

tests/spec/glsl-1.20: added #version 120 to tests

Adds the #version directive to glsl 1.20 tests so they don't
default to being glsl 1.10.
Signed-off-by: default avatarLars Hamre <chemecse@gmail.com>
Reviewed-by: default avatarDylan Baker <dylanx.c.baker@intel.com>
parent 4de6df24
......@@ -3,6 +3,8 @@
// glsl_version: 1.20
// [end config]
#version 120
void main() {
vec4 f = vec4(1e5f, -1e5f, 1e-5f, -1e-5f);
vec4 g = vec4(1e5F, -1e5F, 1e-5F, -1e-5F);
......
......@@ -3,6 +3,8 @@
// glsl_version: 1.20
// [end config]
#version 120
void main() {
float f = 1.0F;
gl_Position = vec4(1.0);
......
......@@ -3,6 +3,8 @@
// glsl_version: 1.20
// [end config]
#version 120
void main() {
float f = 1.0f;
gl_Position = vec4(1.0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment