aboutsummaryrefslogtreecommitdiff
path: root/tests/spec
diff options
context:
space:
mode:
Diffstat (limited to 'tests/spec')
-rw-r--r--tests/spec/glsl-es-1.00/execution/sanity.shader_test7
-rw-r--r--tests/spec/glsl-es-3.00/execution/sanity.shader_test8
2 files changed, 4 insertions, 11 deletions
diff --git a/tests/spec/glsl-es-1.00/execution/sanity.shader_test b/tests/spec/glsl-es-1.00/execution/sanity.shader_test
index a1dc07a0..0884e2c6 100644
--- a/tests/spec/glsl-es-1.00/execution/sanity.shader_test
+++ b/tests/spec/glsl-es-1.00/execution/sanity.shader_test
@@ -1,11 +1,10 @@
# Fill the window with red, then green, then blue.
[require]
-GL >= 2.0 es
+GL ES >= 2.0
+GLSL ES >= 1.00
[vertex shader]
-#version 100
-
attribute vec4 vertex;
void main() {
@@ -13,8 +12,6 @@ void main() {
}
[fragment shader]
-#version 100
-
uniform vec4 u_color;
void main() {
diff --git a/tests/spec/glsl-es-3.00/execution/sanity.shader_test b/tests/spec/glsl-es-3.00/execution/sanity.shader_test
index e7e6dedf..1709d78e 100644
--- a/tests/spec/glsl-es-3.00/execution/sanity.shader_test
+++ b/tests/spec/glsl-es-3.00/execution/sanity.shader_test
@@ -1,12 +1,10 @@
# Fill the window with red, then green, then blue.
[require]
-GL >= 3.0 es
-GLSL >= 3.00 es
+GL ES >= 3.0
+GLSL ES >= 3.00
[vertex shader]
-#version 300 es
-
in vec4 vertex;
void main() {
@@ -14,8 +12,6 @@ void main() {
}
[fragment shader]
-#version 300 es
-
uniform vec4 u_color;
out vec4 color;