[Piglit] [PATCH] Add tests for GL_ARB_shader_draw_parameters
Ilia Mirkin
imirkin at alum.mit.edu
Wed Dec 16 10:31:15 PST 2015
On Wed, Dec 16, 2015 at 1:28 PM, Kristian Høgsberg <hoegsberg at gmail.com> wrote:
> From: Kristian Høgsberg Kristensen <kristian.h.kristensen at intel.com>
>
> ---
> tests/all.py | 15 ++
> tests/spec/CMakeLists.txt | 1 +
> .../arb_shader_draw_parameters/CMakeLists.gl.txt | 14 ++
> .../spec/arb_shader_draw_parameters/CMakeLists.txt | 1 +
> tests/spec/arb_shader_draw_parameters/basevertex.c | 176 +++++++++++++++++
> .../arb_shader_draw_parameters/drawid-indirect.c | 216 +++++++++++++++++++++
> tests/spec/arb_shader_draw_parameters/drawid.c | 173 +++++++++++++++++
> 7 files changed, 596 insertions(+)
> create mode 100644 tests/spec/arb_shader_draw_parameters/CMakeLists.gl.txt
> create mode 100644 tests/spec/arb_shader_draw_parameters/CMakeLists.txt
> create mode 100644 tests/spec/arb_shader_draw_parameters/basevertex.c
> create mode 100644 tests/spec/arb_shader_draw_parameters/drawid-indirect.c
> create mode 100644 tests/spec/arb_shader_draw_parameters/drawid.c
>
> diff --git a/tests/all.py b/tests/all.py
> index f61ff15..a5cd236 100644
> --- a/tests/all.py
> +++ b/tests/all.py
> @@ -4552,5 +4552,20 @@ with profile.group_manager(
> for sample_count in (str(x) for x in MSAA_SAMPLE_COUNTS):
> g(['ext_shader_samples_identical', sample_count])
>
> +# Group ARR_shader_draw_parameters
> +with profile.group_manager(
> + PiglitGLTest,
> + grouptools.join('spec', 'ARB_shader_draw_parameters')) as g:
> + g(['arb_shader_draw_parameters-drawid', 'drawid'], 'drawid')
> + g(['arb_shader_draw_parameters-drawid', 'vertexid'], 'drawid-vertexid')
> + g(['arb_shader_draw_parameters-basevertex', 'basevertex'], 'basevertex')
> + g(['arb_shader_draw_parameters-basevertex', 'baseinstance'], 'baseinstance')
> + g(['arb_shader_draw_parameters-basevertex', 'basevertex-baseinstance'], 'basevertex-baseinstance')
> + g(['arb_shader_draw_parameters-basevertex', 'vertexid-zerobased'], 'vertexid-zerobased')
> + g(['arb_shader_draw_parameters-drawid-indirect', 'drawid'], 'drawid-indirect')
> + g(['arb_shader_draw_parameters-drawid-indirect', 'basevertex'], 'drawid-indirect-basevertex')
> + g(['arb_shader_draw_parameters-drawid-indirect', 'baseinstance'], 'drawid-indirect-baseinstance')
> + g(['arb_shader_draw_parameters-drawid-indirect', 'baseinstance'], 'drawid-indirect-vertexid')
Probably vertexid here?
More information about the Piglit
mailing list