[Piglit] [PATCH 0/4] Test gl_PrimitiveID in instanced draws
Nicolai Hähnle
nhaehnle at gmail.com
Wed May 3 09:52:19 UTC 2017
Hi all,
these tests add coverage for checking that gl_PrimitiveID resets at the
start of a new instance. Radeon GPUs require a few subtleties in
hardware to make sure that works correctly, and we were missing some
of them. Please review!
Thanks,
Nicolai
--
tests/shaders/shader_runner.c | 66 +++++++++----
.../fs-primitiveid-instanced.shader_test | 79 +++++++++++++++
.../gs-primitiveid-instanced.shader_test | 87 +++++++++++++++++
.../tcs-primitiveid-instanced.shader_test | 92 ++++++++++++++++++
...-no-tcs-primitiveid-instanced.shader_test | 66 +++++++++++++
.../tes-primitiveid-instanced.shader_test | 85 ++++++++++++++++
.../primitive-id-no-gs-instanced.shader_test | 60 ++++++++++++
7 files changed, 515 insertions(+), 20 deletions(-)
More information about the Piglit
mailing list