[Piglit] [PATCH v3 1/2] Add arb_transform_feedback_overflow_query tests.

Dylan Baker dylan at pnwbakers.com
Thu Dec 15 18:53:40 UTC 2016


Quoting Rafael Antognolli (2016-12-13 14:51:13)
> Add tests that verify that the xfb overflow query correctly detects
> overflow on streams 0 and 1. Also add tests that check its interaction
> with glBeginConditionalRender, and with ARB_query_buffer_object.
> 
> v2:
>     - add test to all.py (Ilia Mirkin)
>     - Add check for ARB_transform_feedback_overflow_query extension
> v3:
>     - skip some tests when GL_ARB_transform_feedback3 or
>     GL_ARB_gpu_shader5 are not present, and add specific tests for those
>     cases (Ilia Mirkin)
> 
> Signed-off-by: Rafael Antognolli <rafael.antognolli at intel.com>
> ---
>  tests/all.py                                       |   6 +
>  tests/spec/CMakeLists.txt                          |   1 +
>  .../CMakeLists.gl.txt                              |  12 +
>  .../CMakeLists.txt                                 |   1 +
>  .../arb_transform_feedback_overflow_query/basic.c  | 591 +++++++++++++++++++++
>  5 files changed, 611 insertions(+)
>  create mode 100644 tests/spec/arb_transform_feedback_overflow_query/CMakeLists.gl.txt
>  create mode 100644 tests/spec/arb_transform_feedback_overflow_query/CMakeLists.txt
>  create mode 100644 tests/spec/arb_transform_feedback_overflow_query/basic.c
> 
> diff --git a/tests/all.py b/tests/all.py
> index 03cf0c8..888f25f 100644
> --- a/tests/all.py
> +++ b/tests/all.py
> @@ -3677,6 +3677,12 @@ with profile.test_list.group_manager(
>  
>  with profile.test_list.group_manager(
>          PiglitGLTest,
> +        grouptools.join('spec', 'arb_transform_feedback_overflow_query')) as g:
> +    g(['arb_transform_feedback_overflow_query-basic'],
> +      'arb_transform_feedback_overflow_query-basic', run_concurrent=False)

git signature for the adder is something like 
adder(command, name=None, **kwargs) (There might be more explicit keyword
arguments), if name is None then the name of the test will be ' '.join(command),
so in this case you can omit the name altogether and get the exact same result.

Dylan

[snip]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: signature
URL: <https://lists.freedesktop.org/archives/piglit/attachments/20161215/65aad638/attachment.sig>


More information about the Piglit mailing list