[Piglit] [PATCH 00/35] ARB_gl_spirv: all tests so far
Alejandro Piñeiro
apinheiro at igalia.com
Thu Aug 9 11:35:39 UTC 2018
Hi,
due the series on Mesa that I send today, we are adding some
ARB_gl_spirv tests (doubles). As the previous series were not
reviewed, Im sending all the patches. So this series is the merge of
all the pending ARB_gl_spirv series already sent, updates on the xfb
tests, some new double tests, and rebased against a recent master.
As mentioned previously, most of the patches are "vanilla", and the
one that could lead to some debate, as it adds a new runtime
dependency, is the following one:
[PATCH 02/35] shader_runner/spirv: support loading SPIR-V shaders
The full series can be found here:
https://github.com/Igalia/piglit/tree/arb_gl_spirv-series4-misc-v1
Alejandro Piñeiro (12):
framework: add --glsl option
shader_runner/spirv: add vertex shader passthrough support on SPIR-V
shader_runner: debug prints if running on SPIR-V mode.
arb_gl_spirv: add really simple execution test
arb_gl_spirv: add basic test with two uniforms
arb_gl_spirv: add a small test with an array of uniforms
arb_gl_spirv: add execution test for multi-dimensional (aoa) uniform
arb_gl_spirv: uniform sampler2D
arb_gl_spirv: add two linking tests for uniform multisample images
arb_gl_spirv: add test that mixes atomic counters with a normal
uniform
util: Add utilities to handle shader_test files
arb_gl_spirv: adding basic va64 test
Antia Puentes (3):
shader_runner: add command 'probe atomic counter buffer'
arb_gl_spirv: add tests for atomic counter operations in FS
arb_gl_spirv: add tests for atomic counter operations in CS
Neil Roberts (17):
util: Add a utility to stream data through an external process
shader_runner/spirv: Add support for SPIR-V specializations
arb_gl_spirv: Add a test using specializations
arb_gl_spirv: Add tests for sampler2D uniform binding initialisers
arb_gl_spirv: Add a test for a sampler within a struct
arb_gl_spirv: Add a test for nonconst array of sampler structs
arb_gl_spirv: Add 4 tests for uniform initializers
arb_gl_spirv: Add a test for non-sequential explicit uniform locations
arb_gl_spirv: Add a test for a struct uniform
arb_gl_spirv: Add a test for a uniform struct with struct members
arb_gl_spirv: Add a test for an array of structs uniform
arb_gl_spirv: Add a fiddly test for uniform index calculation
util: Add a utility to assemble SPIR-V sources
arb_gpu_shader5: Add support for testing spirv with XFB streams
arb_enhanced_layouts: Test XFB layout qualifiers via SPIR-V
arb_enhanced_layouts: Test doubles
util/vbo: Accept integer attribute names
Nicolai Hähnle (3):
shader_runner/spirv: support loading SPIR-V shaders
arb_gl_spirv: basic uniform test with names still present
arb_gl_spirv: add basic uniform test without names
framework/options.py | 1 +
framework/programs/run.py | 6 +
framework/test/shader_test.py | 10 +-
tests/opengl.py | 23 +-
tests/shaders/shader_runner.c | 452 ++++++++++++++++++++-
tests/shaders/shader_runner_vs_passthrough_spv.h | 45 ++
.../shader_test/gs_text_two_sets_tmpl.shader_test | 35 ++
.../shader_test/vs_double.shader_test | 102 +++++
.../shader_test/vs_passthru.shader_test | 53 +++
.../shader_test/vs_two_sets.shader_test | 125 ++++++
.../shader_test/vs_two_sets_ifc.shader_test | 128 ++++++
.../shader_test/vs_two_sets_named_ifc.shader_test | 125 ++++++
.../shader_test/vs_two_sets_struct.shader_test | 134 ++++++
.../transform-feedback-layout-qualifiers.c | 395 +++++++++++-------
.../execution/uniform/array.shader_test | 137 +++++++
.../execution/uniform/arrays-of-arrays.shader_test | 77 ++++
.../uniform/atomic-uint-aoa-cs.shader_test | 249 ++++++++++++
.../uniform/atomic-uint-aoa-fs.shader_test | 222 ++++++++++
.../uniform/atomic-uint-array-cs.shader_test | 239 +++++++++++
.../uniform/atomic-uint-array-fs.shader_test | 211 ++++++++++
.../execution/uniform/atomic-uint-cs.shader_test | 244 +++++++++++
.../execution/uniform/atomic-uint-fs.shader_runner | 219 ++++++++++
...ic-uint-mixing-with-normal-uniforms.shader_test | 197 +++++++++
.../uniform/atomic-uint-several-slots.shader_test | 197 +++++++++
.../execution/uniform/embedded-structs.shader_test | 151 +++++++
.../uniform/index-matches-location.shader_test | 100 +++++
.../uniform/initializer-complex.shader_test | 180 ++++++++
.../uniform/initializer-dvec4.shader_test | 68 ++++
.../uniform/initializer-mat4x3.shader_test | 83 ++++
.../execution/uniform/initializer.shader_test | 66 +++
.../uniform/nonsequential-locations.shader_test | 69 ++++
.../uniform/sampler2d-binding-array.shader_test | 85 ++++
.../uniform/sampler2d-binding.shader_test | 70 ++++
.../sampler2d-nonconst-nested-array.shader_test | 225 ++++++++++
.../execution/uniform/sampler2d-struct.shader_test | 98 +++++
.../execution/uniform/sampler2d.shader_test | 70 ++++
.../uniform/simple-without-names.shader_test | 111 +++++
.../execution/uniform/simple.shader_test | 124 ++++++
.../execution/uniform/struct-array.shader_test | 140 +++++++
.../execution/uniform/struct.shader_test | 79 ++++
.../execution/uniform/two-uniforms.shader_test | 132 ++++++
.../arb_gl_spirv/execution/va64-simple.shader_test | 136 +++++++
.../execution/vs-ps-simple.shader_test | 119 ++++++
.../execution/vs-ps-specializations.shader_test | 181 +++++++++
.../linker/uniform/multisampler-array.shader_test | 68 ++++
.../linker/uniform/multisampler.shader_test | 67 +++
.../xfb_streams_without_invocations.shader_test | 197 +++++++++
.../execution/xfb-streams-without-invocations.c | 135 ++++--
tests/util/CMakeLists.txt | 2 +
tests/util/piglit-shader-test.c | 154 +++++++
tests/util/piglit-shader-test.h | 43 ++
tests/util/piglit-shader.c | 37 ++
tests/util/piglit-shader.h | 3 +
tests/util/piglit-subprocess.c | 207 ++++++++++
tests/util/piglit-subprocess.h | 44 ++
tests/util/piglit-vbo.cpp | 28 +-
56 files changed, 6679 insertions(+), 219 deletions(-)
create mode 100644 tests/shaders/shader_runner_vs_passthrough_spv.h
create mode 100644 tests/spec/arb_enhanced_layouts/shader_test/gs_text_two_sets_tmpl.shader_test
create mode 100644 tests/spec/arb_enhanced_layouts/shader_test/vs_double.shader_test
create mode 100644 tests/spec/arb_enhanced_layouts/shader_test/vs_passthru.shader_test
create mode 100644 tests/spec/arb_enhanced_layouts/shader_test/vs_two_sets.shader_test
create mode 100644 tests/spec/arb_enhanced_layouts/shader_test/vs_two_sets_ifc.shader_test
create mode 100644 tests/spec/arb_enhanced_layouts/shader_test/vs_two_sets_named_ifc.shader_test
create mode 100644 tests/spec/arb_enhanced_layouts/shader_test/vs_two_sets_struct.shader_test
create mode 100644 tests/spec/arb_gl_spirv/execution/uniform/array.shader_test
create mode 100644 tests/spec/arb_gl_spirv/execution/uniform/arrays-of-arrays.shader_test
create mode 100644 tests/spec/arb_gl_spirv/execution/uniform/atomic-uint-aoa-cs.shader_test
create mode 100644 tests/spec/arb_gl_spirv/execution/uniform/atomic-uint-aoa-fs.shader_test
create mode 100644 tests/spec/arb_gl_spirv/execution/uniform/atomic-uint-array-cs.shader_test
create mode 100644 tests/spec/arb_gl_spirv/execution/uniform/atomic-uint-array-fs.shader_test
create mode 100644 tests/spec/arb_gl_spirv/execution/uniform/atomic-uint-cs.shader_test
create mode 100644 tests/spec/arb_gl_spirv/execution/uniform/atomic-uint-fs.shader_runner
create mode 100644 tests/spec/arb_gl_spirv/execution/uniform/atomic-uint-mixing-with-normal-uniforms.shader_test
create mode 100644 tests/spec/arb_gl_spirv/execution/uniform/atomic-uint-several-slots.shader_test
create mode 100644 tests/spec/arb_gl_spirv/execution/uniform/embedded-structs.shader_test
create mode 100644 tests/spec/arb_gl_spirv/execution/uniform/index-matches-location.shader_test
create mode 100644 tests/spec/arb_gl_spirv/execution/uniform/initializer-complex.shader_test
create mode 100644 tests/spec/arb_gl_spirv/execution/uniform/initializer-dvec4.shader_test
create mode 100644 tests/spec/arb_gl_spirv/execution/uniform/initializer-mat4x3.shader_test
create mode 100644 tests/spec/arb_gl_spirv/execution/uniform/initializer.shader_test
create mode 100644 tests/spec/arb_gl_spirv/execution/uniform/nonsequential-locations.shader_test
create mode 100644 tests/spec/arb_gl_spirv/execution/uniform/sampler2d-binding-array.shader_test
create mode 100644 tests/spec/arb_gl_spirv/execution/uniform/sampler2d-binding.shader_test
create mode 100644 tests/spec/arb_gl_spirv/execution/uniform/sampler2d-nonconst-nested-array.shader_test
create mode 100644 tests/spec/arb_gl_spirv/execution/uniform/sampler2d-struct.shader_test
create mode 100644 tests/spec/arb_gl_spirv/execution/uniform/sampler2d.shader_test
create mode 100644 tests/spec/arb_gl_spirv/execution/uniform/simple-without-names.shader_test
create mode 100644 tests/spec/arb_gl_spirv/execution/uniform/simple.shader_test
create mode 100644 tests/spec/arb_gl_spirv/execution/uniform/struct-array.shader_test
create mode 100644 tests/spec/arb_gl_spirv/execution/uniform/struct.shader_test
create mode 100644 tests/spec/arb_gl_spirv/execution/uniform/two-uniforms.shader_test
create mode 100644 tests/spec/arb_gl_spirv/execution/va64-simple.shader_test
create mode 100644 tests/spec/arb_gl_spirv/execution/vs-ps-simple.shader_test
create mode 100644 tests/spec/arb_gl_spirv/execution/vs-ps-specializations.shader_test
create mode 100644 tests/spec/arb_gl_spirv/linker/uniform/multisampler-array.shader_test
create mode 100644 tests/spec/arb_gl_spirv/linker/uniform/multisampler.shader_test
create mode 100644 tests/spec/arb_gpu_shader5/execution/shader_test/xfb_streams_without_invocations.shader_test
create mode 100644 tests/util/piglit-shader-test.c
create mode 100644 tests/util/piglit-shader-test.h
create mode 100644 tests/util/piglit-subprocess.c
create mode 100644 tests/util/piglit-subprocess.h
--
2.14.1
More information about the Piglit
mailing list