[Piglit] [RFC] arb_gpu_shader5: some vertex stream tests

Ken Phillis Jr kphillisjr at gmail.com
Tue Oct 15 21:01:53 CEST 2013


I would recommend trying at least two other Nvidia driver releases. The
change to shader_runner is not needed in newer releases like the nvidia
325.15 release or the nvidia 331.13 release.


On Tue, Oct 15, 2013 at 6:49 AM, Topi Pohjolainen <
topi.pohjolainen at intel.com> wrote:

> First patch I included just to ask if there something amiss in
> my system. I have
>
> X.Org X Server 1.12.4
> Release Date: 2012-08-27
>
> running on NVIDIA (304.88 on GTX 660). Without the patch I just
> wasn't able to run the shader_runner at all:
>
> piglit: info: Failed to create GL 3.2 core context
> piglit: info: Falling back to GL 3.2 compatibility context
> piglit: info: Failed to create GL 3.2 compatibility context
> piglit: info: Failed to create any GL context
> PIGLIT: {'result': 'skip' }
>
>
> I haven't written any linker or compiler tests for piglit before
> and what I have here I just based on what I understood from
> existing tests.
>
> First set of tests address the primitive type constraints when
> geometry shaders output multiple streams. The second set
> exercises the stream identifier parameter taken by
> EmitStreamVertex() and EndStreamPrimitive() builtin functions.
>
> Topi Pohjolainen (3):
>   hack: enable shader runner on 4.2.0 NVIDIA 304.88
>   arb_gpu_shader5: add shader tests with multiple streams but emitting
>     strips
>   arb_gpu_shader5: add vertex stream id compiler tests
>
>  tests/all.tests                                    |  2 +
>  tests/shaders/shader_runner.c                      |  2 +-
>  .../primitive-end-with-const-int.geom              | 26 +++++++++++++
>  .../primitive-end-with-non-const-int.geom          | 26 +++++++++++++
>  .../vertex-stream-emit-with-const-int.geom         | 26 +++++++++++++
>  .../vertex-stream-emit-with-non-const-int.geom     | 26 +++++++++++++
>  ...vertex-streams-emitting-line-strips.shader_test | 43
> ++++++++++++++++++++++
>  ...ex-streams-emitting-triangle-strips.shader_test | 43
> ++++++++++++++++++++++
>  ...-streams-only-one-emits-line-strips.shader_test | 40
> ++++++++++++++++++++
>  9 files changed, 233 insertions(+), 1 deletion(-)
>  create mode 100644
> tests/spec/arb_gpu_shader5/compiler/builtin-functions/primitive-end-with-const-int.geom
>  create mode 100644
> tests/spec/arb_gpu_shader5/compiler/builtin-functions/primitive-end-with-non-const-int.geom
>  create mode 100644
> tests/spec/arb_gpu_shader5/compiler/builtin-functions/vertex-stream-emit-with-const-int.geom
>  create mode 100644
> tests/spec/arb_gpu_shader5/compiler/builtin-functions/vertex-stream-emit-with-non-const-int.geom
>  create mode 100644
> tests/spec/arb_gpu_shader5/linker/gs-multiple-vertex-streams-emitting-line-strips.shader_test
>  create mode 100644
> tests/spec/arb_gpu_shader5/linker/gs-multiple-vertex-streams-emitting-triangle-strips.shader_test
>  create mode 100644
> tests/spec/arb_gpu_shader5/linker/gs-multiple-vertex-streams-only-one-emits-line-strips.shader_test
>
> --
> 1.8.3.1
>
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/piglit
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20131015/f41734f5/attachment.html>


More information about the Piglit mailing list