[Piglit] [PATCH 12/15] arb_fragment_program*: Add [require] block to all shader tests
Chad Versace
chad.versace at linux.intel.com
Fri Dec 7 12:53:58 PST 2012
Some of the tests lacked a [require] block. In a future commit, the python
framework begins parsing the [require] block and requires one to be
present.
Signed-off-by: Chad Versace <chad.versace at linux.intel.com>
---
tests/spec/arb_fragment_program/dph.shader_test | 3 +++
tests/spec/arb_fragment_program/kil-swizzle.shader_test | 3 +++
tests/spec/arb_fragment_program/lrp_sat.shader_test | 3 +++
tests/spec/arb_fragment_program/texturing/tex-2d.shader_test | 3 +++
tests/spec/arb_fragment_program/texturing/txb-2d.shader_test | 3 +++
tests/spec/arb_fragment_program/texturing/txp-2d.shader_test | 3 +++
tests/spec/arb_fragment_program_shadow/masked.shader_test | 4 ++++
7 files changed, 22 insertions(+)
diff --git a/tests/spec/arb_fragment_program/dph.shader_test b/tests/spec/arb_fragment_program/dph.shader_test
index cb53df5..f42485e 100644
--- a/tests/spec/arb_fragment_program/dph.shader_test
+++ b/tests/spec/arb_fragment_program/dph.shader_test
@@ -1,3 +1,6 @@
+[require]
+GL_ARB_fragment_program
+
[vertex program]
!!ARBvp1.0
MOV result.position, vertex.position;
diff --git a/tests/spec/arb_fragment_program/kil-swizzle.shader_test b/tests/spec/arb_fragment_program/kil-swizzle.shader_test
index 4a873d8..1c28b91 100644
--- a/tests/spec/arb_fragment_program/kil-swizzle.shader_test
+++ b/tests/spec/arb_fragment_program/kil-swizzle.shader_test
@@ -1,3 +1,6 @@
+[require]
+GL_ARB_fragment_program
+
[vertex program]
!!ARBvp1.0
MOV result.position, vertex.position;
diff --git a/tests/spec/arb_fragment_program/lrp_sat.shader_test b/tests/spec/arb_fragment_program/lrp_sat.shader_test
index 2f06e48..c51bef4 100644
--- a/tests/spec/arb_fragment_program/lrp_sat.shader_test
+++ b/tests/spec/arb_fragment_program/lrp_sat.shader_test
@@ -1,3 +1,6 @@
+[require]
+GL_ARB_fragment_program
+
[vertex program]
!!ARBvp1.0
MOV result.position, vertex.position;
diff --git a/tests/spec/arb_fragment_program/texturing/tex-2d.shader_test b/tests/spec/arb_fragment_program/texturing/tex-2d.shader_test
index c5ba1ba..1483b9d 100644
--- a/tests/spec/arb_fragment_program/texturing/tex-2d.shader_test
+++ b/tests/spec/arb_fragment_program/texturing/tex-2d.shader_test
@@ -1,3 +1,6 @@
+[require]
+GL_ARB_fragment_program
+
[vertex program]
!!ARBvp1.0
TEMP texcoord;
diff --git a/tests/spec/arb_fragment_program/texturing/txb-2d.shader_test b/tests/spec/arb_fragment_program/texturing/txb-2d.shader_test
index 5e08257..8964616 100644
--- a/tests/spec/arb_fragment_program/texturing/txb-2d.shader_test
+++ b/tests/spec/arb_fragment_program/texturing/txb-2d.shader_test
@@ -1,3 +1,6 @@
+[require]
+GL_ARB_fragment_program
+
[vertex program]
!!ARBvp1.0
OPTION ARB_position_invariant;
diff --git a/tests/spec/arb_fragment_program/texturing/txp-2d.shader_test b/tests/spec/arb_fragment_program/texturing/txp-2d.shader_test
index 85c0dbb..ab5d842 100644
--- a/tests/spec/arb_fragment_program/texturing/txp-2d.shader_test
+++ b/tests/spec/arb_fragment_program/texturing/txp-2d.shader_test
@@ -1,3 +1,6 @@
+[require]
+GL_ARB_fragment_program
+
[vertex program]
!!ARBvp1.0
TEMP texcoord;
diff --git a/tests/spec/arb_fragment_program_shadow/masked.shader_test b/tests/spec/arb_fragment_program_shadow/masked.shader_test
index 883bf5c..53eac09 100644
--- a/tests/spec/arb_fragment_program_shadow/masked.shader_test
+++ b/tests/spec/arb_fragment_program_shadow/masked.shader_test
@@ -1,3 +1,7 @@
+[require]
+GL_ARB_texture_rectangle
+GL_ARB_fragment_program_shadow
+
[vertex program]
!!ARBvp1.0
MOV result.position, vertex.position;
--
1.7.11.7
More information about the Piglit
mailing list