[Piglit] [PATCH 09/40] Port fdo38145.vpfp to shader_runner

Kenneth Graunke kenneth at whitecape.org
Sat Jun 6 19:11:35 PDT 2015


This commit was autogenerated by Python and Bash scripting.
---
 tests/all.py                                       |  1 -
 tests/shaders/generic/fdo38145.vpfp                | 17 --------------
 .../spec/arb_fragment_program/fdo38145.shader_test | 27 ++++++++++++++++++++++
 3 files changed, 27 insertions(+), 18 deletions(-)
 delete mode 100644 tests/shaders/generic/fdo38145.vpfp
 create mode 100644 tests/spec/arb_fragment_program/fdo38145.shader_test

diff --git a/tests/all.py b/tests/all.py
index b973353..6366daa 100644
--- a/tests/all.py
+++ b/tests/all.py
@@ -1903,7 +1903,6 @@ with profile.group_manager(
     g(['trinity-fp1'], run_concurrent=False)
     g(['arb_fragment_program-sparse-samplers'], 'sparse-samplers')
     g(['incomplete-texture', 'arb_fp'], 'incomplete-texture-arb_fp')
-    add_vpfpgeneric(g, 'fdo38145')
     add_vpfpgeneric(g, 'fp-cmp')
     add_vpfpgeneric(g, 'fp-dst-aliasing-1')
     add_vpfpgeneric(g, 'fp-dst-aliasing-2')
diff --git a/tests/shaders/generic/fdo38145.vpfp b/tests/shaders/generic/fdo38145.vpfp
deleted file mode 100644
index cce3550..0000000
--- a/tests/shaders/generic/fdo38145.vpfp
+++ /dev/null
@@ -1,17 +0,0 @@
-; test for a regression in the R600 SPI setup that affected doom3 rendering.
-; Author: Vadim Girlin
-
-!!ARBvp1.0
-OPTION ARB_position_invariant;
-MOV	result.texcoord[0],0;
-MOV	result.texcoord[1],1;
-END
-
-!!ARBfp1.0
-TEMP	R0;
-MOV	R0, fragment.position;
-MOV	result.color,fragment.texcoord[1];
-END
-
-!!test
-expected 1.0 1.0 1.0 1.0
diff --git a/tests/spec/arb_fragment_program/fdo38145.shader_test b/tests/spec/arb_fragment_program/fdo38145.shader_test
new file mode 100644
index 0000000..302cf8e
--- /dev/null
+++ b/tests/spec/arb_fragment_program/fdo38145.shader_test
@@ -0,0 +1,27 @@
+# test for a regression in the R600 SPI setup that affected doom3 rendering.
+# Author: Vadim Girlin
+
+[require]
+GL >= 1.3
+ARB_vertex_program
+ARB_fragment_program
+
+[vertex program]
+!!ARBvp1.0
+OPTION ARB_position_invariant;
+MOV	result.texcoord[0],0;
+MOV	result.texcoord[1],1;
+END
+
+[fragment program]
+!!ARBfp1.0
+TEMP	R0;
+MOV	R0, fragment.position;
+MOV	result.color,fragment.texcoord[1];
+END
+
+[test]
+ortho 0 1 0 1
+draw rect 0 0 1 1
+probe all rgba  1.0 1.0 1.0 1.0
+
-- 
2.4.2



More information about the Piglit mailing list