[Piglit] [PATCH 00/37] Port glean fragprog tests to shader_runner
Dylan Baker
dylan at pnwbakers.com
Thu Apr 28 21:38:22 UTC 2016
This is the start of an effort on my part to completely get rid of
glean by porting the useful, non-duplicated parts to the piglit
infastructure and deleting the rest the tests.
This first part covers just the ARB fragment program tests, and there
are a significant number of them that there are no native piglit tests
to cover.
For the most part I've tried to be fairly close to the original tests in
my porting effort, although some changes are required to accomidate the
change from a C based test to a shader_runner based test, like the
inability to set glColor from C.
I have tested these tests on i965, and all of them pass or skip, with no
failures.
I'm planning to work on either the GLSL or ARB vertex programs next, and
the fixed-function tests last.
Dylan Baker (37):
editorconfig: update the editorconfig file
glean/tfragprog1: port ABS test to shader_runner
glean/tfragprog1: port ADD tests to shader_runner
glean/tfragprog1: Port CMP test to shader_runner
glean/tfragprog1: port COS tests to shader runner
glean/tfragprog1: port DP3 tests to shader_runner
glean/tfragprog1: port DP4 test to shader_runner
glean/tfragprog1: port DPH test to shader_runner
glean/tfragprog1: port DST test to shader_runner
glean/tfragprog1: port EX2 test to shader_runner
glean/tfragprog1: port FLR test to shader_runner
glean/tfragprog1: port FRC test to shader_runner
glean/tfragprog1: port LG2 test to shader_runner
glean/tfragprog1: port LIT tests to shader_runner
glean/tfragprog1: port LRP test to shader_runner
glean/tfragprog1: port MAD test to shader_runner
glean/tfragprog1: port MAX test to shader_runner
glean/tfragprog1: port MIN test to shader_runner
glean/tfragprog1: port MOV tests to shader_runner
glean/tfragprog1: port MUL tests to shader_runner
glean/tfragprog1: port POW test to shader_runner
glean/tfragprog1: port RCP tests to shader_runner
glean/tfragprog1: port RSQ tests to shader_runner
glean/tfragprog1: port SCS test to shader_runner
glean/tfragprog1: port SGE test to shader_runner
glean/tfragprog1: port SIN tests to shader_runner
glean/tfragprog1: replace SLT test with shader_runner test
glean/tfragprog1: port SUB tests to shader_runner
glean/tfragprog1: port swizzle tests to shader_runner
glean/tfragprog1: port XPD test to shader_runner
shader_runner: add command for glFog
glean/tfragprog1: port linear fog tests to shader_runner
glean/tfragprog1: port exp-fog tests to shader_runner
glean/tfragprog1: port exp2 fog tests to shader_runner
glean/tfragprog1: port z-write test to shader_runner
glean/tfragprog1: remove stress tests
glean: delete the now empty tfragprog1.cpp
.editorconfig | 4 +-
tests/all.py | 54 -
tests/glean/CMakeLists.gl.txt | 1 -
tests/glean/tfragprog1.cpp | 1125 --------------------
tests/glean/tfragprog1.h | 92 --
tests/shaders/shader_runner.c | 74 ++
.../built-in-functions/abs.shader_test | 16 +
.../built-in-functions/add-immediate.shader_test | 16 +
.../add-negative-immediate.shader_test | 16 +
.../built-in-functions/add.shader_test | 18 +
.../built-in-functions/add_sat.shader_test | 22 +
.../built-in-functions/cmp.shader_test | 20 +
.../built-in-functions/cmp_sat.shader_test | 20 +
.../cos-clamped-values.shader_test | 22 +
.../built-in-functions/cos.shader_test | 19 +
.../built-in-functions/dp3.shader_test | 18 +
.../built-in-functions/dp4.shader_test | 18 +
.../built-in-functions/dph.shader_test | 18 +
.../built-in-functions/dst.shader_test | 18 +
.../built-in-functions/ex2.shader_test | 22 +
.../built-in-functions/flr.shader_test | 19 +
.../built-in-functions/frc.shader_test | 16 +
.../built-in-functions/lg2.shader_test | 22 +
.../built-in-functions/lit-0-to-0.shader_test | 18 +
.../built-in-functions/lit-x-lt-0.shader_test | 19 +
.../built-in-functions/lit.shader_test | 17 +
.../built-in-functions/lrp.shader_test | 20 +
.../built-in-functions/mad.shader_test | 20 +
.../built-in-functions/max.shader_test | 18 +
.../built-in-functions/min.shader_test | 18 +
.../built-in-functions/mov.shader_test | 16 +
.../built-in-functions/mul.shader_test | 19 +
.../built-in-functions/pow.shader_test | 19 +
.../built-in-functions/rcp-replicated.shader_test | 19 +
.../built-in-functions/rcp.shader_test | 22 +
.../built-in-functions/rsq.shader_test | 21 +
.../built-in-functions/scs.shader_test | 19 +
.../built-in-functions/sge.shader_test | 20 +
.../built-in-functions/sin-clamped.shader_test | 20 +
.../built-in-functions/sin.shader_test | 20 +
.../built-in-functions/slt.shader_test | 20 +
.../built-in-functions/sub.shader_test | 19 +
.../built-in-functions/sub_sat.shader_test | 20 +
.../built-in-functions/swz.shader_test | 17 +
.../built-in-functions/xpd.shader_test | 21 +
.../fog/calculated-exp.shader_test | 35 +
.../fog/calculated-exp2.shader_test | 36 +
.../fog/calculated-linear.shader_test | 35 +
.../spec/arb_fragment_program/fog/exp.shader_test | 24 +
.../spec/arb_fragment_program/fog/exp2.shader_test | 24 +
.../arb_fragment_program/fog/linear.shader_test | 24 +
.../swizzle-and-mask/masked-mul.shader_test | 19 +
.../swizzle-and-mask/swizzled-add.shader_test | 18 +
.../swizzle-and-mask/swizzled-mov.shader_test | 16 +
.../swizzle-and-mask/swizzled-sub.shader_test | 18 +
.../spec/arb_fragment_program/z-write.shader_test | 21 +
56 files changed, 1088 insertions(+), 1274 deletions(-)
delete mode 100644 tests/glean/tfragprog1.cpp
delete mode 100644 tests/glean/tfragprog1.h
create mode 100644 tests/spec/arb_fragment_program/built-in-functions/abs.shader_test
create mode 100644 tests/spec/arb_fragment_program/built-in-functions/add-immediate.shader_test
create mode 100644 tests/spec/arb_fragment_program/built-in-functions/add-negative-immediate.shader_test
create mode 100644 tests/spec/arb_fragment_program/built-in-functions/add.shader_test
create mode 100644 tests/spec/arb_fragment_program/built-in-functions/add_sat.shader_test
create mode 100644 tests/spec/arb_fragment_program/built-in-functions/cmp.shader_test
create mode 100644 tests/spec/arb_fragment_program/built-in-functions/cmp_sat.shader_test
create mode 100644 tests/spec/arb_fragment_program/built-in-functions/cos-clamped-values.shader_test
create mode 100644 tests/spec/arb_fragment_program/built-in-functions/cos.shader_test
create mode 100644 tests/spec/arb_fragment_program/built-in-functions/dp3.shader_test
create mode 100644 tests/spec/arb_fragment_program/built-in-functions/dp4.shader_test
create mode 100644 tests/spec/arb_fragment_program/built-in-functions/dph.shader_test
create mode 100644 tests/spec/arb_fragment_program/built-in-functions/dst.shader_test
create mode 100644 tests/spec/arb_fragment_program/built-in-functions/ex2.shader_test
create mode 100644 tests/spec/arb_fragment_program/built-in-functions/flr.shader_test
create mode 100644 tests/spec/arb_fragment_program/built-in-functions/frc.shader_test
create mode 100644 tests/spec/arb_fragment_program/built-in-functions/lg2.shader_test
create mode 100644 tests/spec/arb_fragment_program/built-in-functions/lit-0-to-0.shader_test
create mode 100644 tests/spec/arb_fragment_program/built-in-functions/lit-x-lt-0.shader_test
create mode 100644 tests/spec/arb_fragment_program/built-in-functions/lit.shader_test
create mode 100644 tests/spec/arb_fragment_program/built-in-functions/lrp.shader_test
create mode 100644 tests/spec/arb_fragment_program/built-in-functions/mad.shader_test
create mode 100644 tests/spec/arb_fragment_program/built-in-functions/max.shader_test
create mode 100644 tests/spec/arb_fragment_program/built-in-functions/min.shader_test
create mode 100644 tests/spec/arb_fragment_program/built-in-functions/mov.shader_test
create mode 100644 tests/spec/arb_fragment_program/built-in-functions/mul.shader_test
create mode 100644 tests/spec/arb_fragment_program/built-in-functions/pow.shader_test
create mode 100644 tests/spec/arb_fragment_program/built-in-functions/rcp-replicated.shader_test
create mode 100644 tests/spec/arb_fragment_program/built-in-functions/rcp.shader_test
create mode 100644 tests/spec/arb_fragment_program/built-in-functions/rsq.shader_test
create mode 100644 tests/spec/arb_fragment_program/built-in-functions/scs.shader_test
create mode 100644 tests/spec/arb_fragment_program/built-in-functions/sge.shader_test
create mode 100644 tests/spec/arb_fragment_program/built-in-functions/sin-clamped.shader_test
create mode 100644 tests/spec/arb_fragment_program/built-in-functions/sin.shader_test
create mode 100644 tests/spec/arb_fragment_program/built-in-functions/slt.shader_test
create mode 100644 tests/spec/arb_fragment_program/built-in-functions/sub.shader_test
create mode 100644 tests/spec/arb_fragment_program/built-in-functions/sub_sat.shader_test
create mode 100644 tests/spec/arb_fragment_program/built-in-functions/swz.shader_test
create mode 100644 tests/spec/arb_fragment_program/built-in-functions/xpd.shader_test
create mode 100644 tests/spec/arb_fragment_program/fog/calculated-exp.shader_test
create mode 100644 tests/spec/arb_fragment_program/fog/calculated-exp2.shader_test
create mode 100644 tests/spec/arb_fragment_program/fog/calculated-linear.shader_test
create mode 100644 tests/spec/arb_fragment_program/fog/exp.shader_test
create mode 100644 tests/spec/arb_fragment_program/fog/exp2.shader_test
create mode 100644 tests/spec/arb_fragment_program/fog/linear.shader_test
create mode 100644 tests/spec/arb_fragment_program/swizzle-and-mask/masked-mul.shader_test
create mode 100644 tests/spec/arb_fragment_program/swizzle-and-mask/swizzled-add.shader_test
create mode 100644 tests/spec/arb_fragment_program/swizzle-and-mask/swizzled-mov.shader_test
create mode 100644 tests/spec/arb_fragment_program/swizzle-and-mask/swizzled-sub.shader_test
create mode 100644 tests/spec/arb_fragment_program/z-write.shader_test
--
2.8.0
More information about the Piglit
mailing list