radeonsi: fix gl_PrimitiveIDIn in geometry shader when using tessellation
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Mon, 15 May 2017 09:10:13 +0000 (11:10 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Tue, 16 May 2017 14:11:53 +0000 (16:11 +0200)
commitf4dbe2efb77be366c52cdd134876a6b00bf324bd
tree90c13be2bdab9c5afd8e21dc1e3636e1a3c18beb
parent3accda4b82a2b3df84d28c095d3ab8810acf613b
radeonsi: fix gl_PrimitiveIDIn in geometry shader when using tessellation

This builds on commit 0549ea15ec38 ("radeonsi: fix primitive ID in
fragment shader when using tessellation").

Fixes piglit
arb_tessellation_shader/execution/gs-primitiveid-instanced.shader_test

Cc: 17.1 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_state_shaders.c