This commit was autogenerated by Python and Bash scripting. --- tests/all.py | 1 - tests/shaders/generic/vp-sge-alias.vpfp | 18 --------------- .../arb_vertex_program/vp-sge-alias.shader_test | 27 ++++++++++++++++++++++ 3 files changed, 27 insertions(+), 19 deletions(-) delete mode 100644 tests/shaders/generic/vp-sge-alias.vpfp create mode 100644 tests/spec/arb_vertex_program/vp-sge-alias.shader_test
diff --git a/tests/all.py b/tests/all.py index ef462ad..6072563 100644 --- a/tests/all.py +++ b/tests/all.py @@ -2592,7 +2592,6 @@ with profile.group_manager( g(['vp-address-04'], run_concurrent=False) g(['vp-bad-program'], run_concurrent=False) g(['vp-max-array'], run_concurrent=False) - add_vpfpgeneric(g, 'vp-sge-alias') add_vpfpgeneric(g, 'vp-two-constants') with profile.group_manager( diff --git a/tests/shaders/generic/vp-sge-alias.vpfp b/tests/shaders/generic/vp-sge-alias.vpfp deleted file mode 100644 index 38e9994..0000000 --- a/tests/shaders/generic/vp-sge-alias.vpfp +++ /dev/null @@ -1,18 +0,0 @@ -; Detects whether or not the implementation correctly handles aliasing -; of src/dest registers of SGE. This caught a bug in the 965 driver. - -!!ARBvp1.0 -OPTION ARB_position_invariant; -TEMP temp; -MOV temp, {3, 0, 1, 0}; -SGE temp, temp, {2, 1, 0, -1}; -MOV result.color, temp; -END - -!!ARBfp1.0 -MOV result.color, fragment.color; -END - -!!test -expected 1 0 1 1 - diff --git a/tests/spec/arb_vertex_program/vp-sge-alias.shader_test b/tests/spec/arb_vertex_program/vp-sge-alias.shader_test new file mode 100644 index 0000000..d97236c --- /dev/null +++ b/tests/spec/arb_vertex_program/vp-sge-alias.shader_test @@ -0,0 +1,27 @@ +# Detects whether or not the implementation correctly handles aliasing +# of src/dest registers of SGE. This caught a bug in the 965 driver. + +[require] +GL >= 1.3 +ARB_vertex_program +ARB_fragment_program + +[vertex program] +!!ARBvp1.0 +OPTION ARB_position_invariant; +TEMP temp; +MOV temp, {3, 0, 1, 0}; +SGE temp, temp, {2, 1, 0, -1}; +MOV result.color, temp; +END + +[fragment program] +!!ARBfp1.0 +MOV result.color, fragment.color; +END + +[test] +ortho 0 1 0 1 +draw rect 0 0 1 1 +probe all rgba 1 0 1 1 + -- 2.4.2 _______________________________________________ Piglit mailing list Piglit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/piglit