[Piglit] [PATCH 1/2] Add [require] section to .shader_test files missing it.

Stuart Abercrombie sabercrombie at chromium.org
Fri Dec 21 11:27:25 PST 2012


The only content is GLSL >= 1.10.

This is part of the effort to get closer to GLES support.
---
 .../fs-bool-less-compare-false.shader_test         |    3 +++
 .../fs-bool-less-compare-true.shader_test          |    3 +++
 .../execution/fs-inline-notequal.shader_test       |    3 +++
 .../execution/fs-saturate-exp2.shader_test         |    3 +++
 .../execution/fs-saturate-pow.shader_test          |    3 +++
 .../execution/fs-saturate-sqrt.shader_test         |    3 +++
 ...-vector-indexing-kills-all-channels.shader_test |    3 +++
 .../execution/vs-inline-notequal.shader_test       |    3 +++
 .../execution/vs-saturate-exp2.shader_test         |    3 +++
 .../execution/vs-saturate-pow.shader_test          |    3 +++
 .../execution/vs-saturate-sqrt.shader_test         |    3 +++
 ...-vector-indexing-kills-all-channels.shader_test |    3 +++
 ...ltin-global-from-fn-unknown-to-main.shader_test |    3 +++
 13 files changed, 39 insertions(+), 0 deletions(-)

diff --git a/tests/spec/glsl-1.10/execution/fs-bool-less-compare-false.shader_test b/tests/spec/glsl-1.10/execution/fs-bool-less-compare-false.shader_test
index 11c572c..e822f5e 100644
--- a/tests/spec/glsl-1.10/execution/fs-bool-less-compare-false.shader_test
+++ b/tests/spec/glsl-1.10/execution/fs-bool-less-compare-false.shader_test
@@ -1,6 +1,9 @@
 # This test exercises a bug introduced in i965: Comparison of comparison
 # results to boolean values gave incorrect results.
 
+[require]
+GLSL >= 1.10
+
 [vertex shader]
 void main()
 {
diff --git a/tests/spec/glsl-1.10/execution/fs-bool-less-compare-true.shader_test b/tests/spec/glsl-1.10/execution/fs-bool-less-compare-true.shader_test
index bc9148c..91b10ec 100644
--- a/tests/spec/glsl-1.10/execution/fs-bool-less-compare-true.shader_test
+++ b/tests/spec/glsl-1.10/execution/fs-bool-less-compare-true.shader_test
@@ -1,6 +1,9 @@
 # This test exercises a bug introduced in i965: Comparison of comparison
 # results to boolean values gave incorrect results.
 
+[require]
+GLSL >= 1.10
+
 [vertex shader]
 void main()
 {
diff --git a/tests/spec/glsl-1.10/execution/fs-inline-notequal.shader_test b/tests/spec/glsl-1.10/execution/fs-inline-notequal.shader_test
index 6def318..a38e989 100644
--- a/tests/spec/glsl-1.10/execution/fs-inline-notequal.shader_test
+++ b/tests/spec/glsl-1.10/execution/fs-inline-notequal.shader_test
@@ -2,6 +2,9 @@
 # an execution of notEqual() to be constant-folded, an assertion
 # failure would occur.
 
+[require]
+GLSL >= 1.10
+
 [vertex shader]
 void main()
 {
diff --git a/tests/spec/glsl-1.10/execution/fs-saturate-exp2.shader_test b/tests/spec/glsl-1.10/execution/fs-saturate-exp2.shader_test
index fd5a26f..03c1f5e 100644
--- a/tests/spec/glsl-1.10/execution/fs-saturate-exp2.shader_test
+++ b/tests/spec/glsl-1.10/execution/fs-saturate-exp2.shader_test
@@ -1,3 +1,6 @@
+[require]
+GLSL >= 1.10
+
 [vertex shader]
 void main()
 {
diff --git a/tests/spec/glsl-1.10/execution/fs-saturate-pow.shader_test b/tests/spec/glsl-1.10/execution/fs-saturate-pow.shader_test
index 78e2d5d..9e6778b 100644
--- a/tests/spec/glsl-1.10/execution/fs-saturate-pow.shader_test
+++ b/tests/spec/glsl-1.10/execution/fs-saturate-pow.shader_test
@@ -1,3 +1,6 @@
+[require]
+GLSL >= 1.10
+
 [vertex shader]
 void main()
 {
diff --git a/tests/spec/glsl-1.10/execution/fs-saturate-sqrt.shader_test b/tests/spec/glsl-1.10/execution/fs-saturate-sqrt.shader_test
index 013e007..f901dbe 100644
--- a/tests/spec/glsl-1.10/execution/fs-saturate-sqrt.shader_test
+++ b/tests/spec/glsl-1.10/execution/fs-saturate-sqrt.shader_test
@@ -1,3 +1,6 @@
+[require]
+GLSL >= 1.10
+
 [vertex shader]
 void main()
 {
diff --git a/tests/spec/glsl-1.10/execution/fs-vector-indexing-kills-all-channels.shader_test b/tests/spec/glsl-1.10/execution/fs-vector-indexing-kills-all-channels.shader_test
index b22405a..74ed9a9 100644
--- a/tests/spec/glsl-1.10/execution/fs-vector-indexing-kills-all-channels.shader_test
+++ b/tests/spec/glsl-1.10/execution/fs-vector-indexing-kills-all-channels.shader_test
@@ -2,6 +2,9 @@
 # propagation fails to detect that array indexing into a vector might
 # kill any component of the vector.
 
+[require]
+GLSL >= 1.10
+
 [vertex shader]
 void main()
 {
diff --git a/tests/spec/glsl-1.10/execution/vs-inline-notequal.shader_test b/tests/spec/glsl-1.10/execution/vs-inline-notequal.shader_test
index a2a0923..9fe2926 100644
--- a/tests/spec/glsl-1.10/execution/vs-inline-notequal.shader_test
+++ b/tests/spec/glsl-1.10/execution/vs-inline-notequal.shader_test
@@ -2,6 +2,9 @@
 # an execution of notEqual() to be constant-folded, an assertion
 # failure would occur.
 
+[require]
+GLSL >= 1.10
+
 [vertex shader]
 bvec4 foo(vec4 x, vec4 y)
 {
diff --git a/tests/spec/glsl-1.10/execution/vs-saturate-exp2.shader_test b/tests/spec/glsl-1.10/execution/vs-saturate-exp2.shader_test
index de25327..45e0bb7 100644
--- a/tests/spec/glsl-1.10/execution/vs-saturate-exp2.shader_test
+++ b/tests/spec/glsl-1.10/execution/vs-saturate-exp2.shader_test
@@ -1,3 +1,6 @@
+[require]
+GLSL >= 1.10
+
 [vertex shader]
 uniform vec4 v;
 varying vec4 color;
diff --git a/tests/spec/glsl-1.10/execution/vs-saturate-pow.shader_test b/tests/spec/glsl-1.10/execution/vs-saturate-pow.shader_test
index 72decdc..95dbd57 100644
--- a/tests/spec/glsl-1.10/execution/vs-saturate-pow.shader_test
+++ b/tests/spec/glsl-1.10/execution/vs-saturate-pow.shader_test
@@ -1,3 +1,6 @@
+[require]
+GLSL >= 1.10
+
 [vertex shader]
 uniform vec4 x;
 uniform vec4 y;
diff --git a/tests/spec/glsl-1.10/execution/vs-saturate-sqrt.shader_test b/tests/spec/glsl-1.10/execution/vs-saturate-sqrt.shader_test
index 13fd7ae..c10df0f 100644
--- a/tests/spec/glsl-1.10/execution/vs-saturate-sqrt.shader_test
+++ b/tests/spec/glsl-1.10/execution/vs-saturate-sqrt.shader_test
@@ -1,3 +1,6 @@
+[require]
+GLSL >= 1.10
+
 [vertex shader]
 uniform vec4 v;
 varying vec4 color;
diff --git a/tests/spec/glsl-1.10/execution/vs-vector-indexing-kills-all-channels.shader_test b/tests/spec/glsl-1.10/execution/vs-vector-indexing-kills-all-channels.shader_test
index 6838f78..a2c4db8 100644
--- a/tests/spec/glsl-1.10/execution/vs-vector-indexing-kills-all-channels.shader_test
+++ b/tests/spec/glsl-1.10/execution/vs-vector-indexing-kills-all-channels.shader_test
@@ -2,6 +2,9 @@
 # propagation fails to detect that array indexing into a vector might
 # kill any component of the vector.
 
+[require]
+GLSL >= 1.10
+
 [vertex shader]
 #define RED vec4(1.0, 0.0, 0.0, 0.0)
 #define GREEN vec4(0.0, 1.0, 0.0, 0.0)
diff --git a/tests/spec/glsl-1.10/linker/access-builtin-global-from-fn-unknown-to-main.shader_test b/tests/spec/glsl-1.10/linker/access-builtin-global-from-fn-unknown-to-main.shader_test
index 09687a2..2416f7a 100644
--- a/tests/spec/glsl-1.10/linker/access-builtin-global-from-fn-unknown-to-main.shader_test
+++ b/tests/spec/glsl-1.10/linker/access-builtin-global-from-fn-unknown-to-main.shader_test
@@ -2,6 +2,9 @@
 # function that is neither defined nor declared in the compilation
 # unit that defines main().
 
+[require]
+GLSL >= 1.10
+
 [vertex shader]
 void f();
 void main()
-- 
1.7.7.3



More information about the Piglit mailing list