[Piglit] [PATCH 0/4] WIP tests for GL_ATI_fragment_shader
Miklós Máté
mtmkls at gmail.com
Tue Nov 21 00:04:20 UTC 2017
This series adds API sanity checks, error checks for the conditions listed in
the specification, and render tests for validating the state machine.
I think this is the point where the test set starts becoming useful.
I plan to do more API sanity checks, validate error conditions that are not in
the specification (e.g. invalid argRep), and render tests for validating the
compiler.
Note that I don't expect these to be committed as-is, I'm just showing
my progress. See my corresponding Mesa patch series that fixes issues
uncovered by these tests.
Miklós Máté (4):
ATI_fs: add api error tests
ATI_fs: add render tests
ATI_fs: add some api tests
ATI_fs: add build system integration
tests/spec/CMakeLists.txt | 1 +
tests/spec/ati_fragment_shader/CMakeLists.gl.txt | 37 +++
tests/spec/ati_fragment_shader/CMakeLists.txt | 1 +
tests/spec/ati_fragment_shader/api-alphafirst.c | 52 ++++
tests/spec/ati_fragment_shader/api-gen.c | 65 +++++
tests/spec/ati_fragment_shader/error01-genzero.c | 51 ++++
tests/spec/ati_fragment_shader/error02-inside.c | 59 +++++
tests/spec/ati_fragment_shader/error03-outside.c | 89 +++++++
tests/spec/ati_fragment_shader/error04-endshader.c | 93 ++++++++
tests/spec/ati_fragment_shader/error05-passes.c | 123 ++++++++++
.../spec/ati_fragment_shader/error06-regswizzle.c | 263 +++++++++++++++++++++
tests/spec/ati_fragment_shader/error07-instcount.c | 89 +++++++
tests/spec/ati_fragment_shader/error08-secondary.c | 82 +++++++
tests/spec/ati_fragment_shader/error09-allconst.c | 78 ++++++
tests/spec/ati_fragment_shader/error10-dotx.c | 115 +++++++++
.../spec/ati_fragment_shader/error11-invaliddst.c | 171 ++++++++++++++
.../spec/ati_fragment_shader/error12-invalidsrc.c | 151 ++++++++++++
.../spec/ati_fragment_shader/error13-invalidarg.c | 121 ++++++++++
.../spec/ati_fragment_shader/error14-invalidmod.c | 129 ++++++++++
tests/spec/ati_fragment_shader/render-constants.c | 98 ++++++++
tests/spec/ati_fragment_shader/render-default.c | 81 +++++++
tests/spec/ati_fragment_shader/render-fog.c | 95 ++++++++
tests/spec/ati_fragment_shader/render-notexture.c | 71 ++++++
tests/spec/ati_fragment_shader/render-precedence.c | 118 +++++++++
tests/spec/ati_fragment_shader/render-sources.c | 132 +++++++++++
tests/spec/ati_fragment_shader/render-textargets.c | 89 +++++++
26 files changed, 2454 insertions(+)
create mode 100644 tests/spec/ati_fragment_shader/CMakeLists.gl.txt
create mode 100644 tests/spec/ati_fragment_shader/CMakeLists.txt
create mode 100644 tests/spec/ati_fragment_shader/api-alphafirst.c
create mode 100644 tests/spec/ati_fragment_shader/api-gen.c
create mode 100644 tests/spec/ati_fragment_shader/error01-genzero.c
create mode 100644 tests/spec/ati_fragment_shader/error02-inside.c
create mode 100644 tests/spec/ati_fragment_shader/error03-outside.c
create mode 100644 tests/spec/ati_fragment_shader/error04-endshader.c
create mode 100644 tests/spec/ati_fragment_shader/error05-passes.c
create mode 100644 tests/spec/ati_fragment_shader/error06-regswizzle.c
create mode 100644 tests/spec/ati_fragment_shader/error07-instcount.c
create mode 100644 tests/spec/ati_fragment_shader/error08-secondary.c
create mode 100644 tests/spec/ati_fragment_shader/error09-allconst.c
create mode 100644 tests/spec/ati_fragment_shader/error10-dotx.c
create mode 100644 tests/spec/ati_fragment_shader/error11-invaliddst.c
create mode 100644 tests/spec/ati_fragment_shader/error12-invalidsrc.c
create mode 100644 tests/spec/ati_fragment_shader/error13-invalidarg.c
create mode 100644 tests/spec/ati_fragment_shader/error14-invalidmod.c
create mode 100644 tests/spec/ati_fragment_shader/render-constants.c
create mode 100644 tests/spec/ati_fragment_shader/render-default.c
create mode 100644 tests/spec/ati_fragment_shader/render-fog.c
create mode 100644 tests/spec/ati_fragment_shader/render-notexture.c
create mode 100644 tests/spec/ati_fragment_shader/render-precedence.c
create mode 100644 tests/spec/ati_fragment_shader/render-sources.c
create mode 100644 tests/spec/ati_fragment_shader/render-textargets.c
--
2.15.0.rc0
More information about the Piglit
mailing list