radeonsi/gfx10: enable GS fast launch for triangles and strips with NGG culling
authorMarek Olšák <marek.olsak@amd.com>
Thu, 9 Jan 2020 01:21:04 +0000 (20:21 -0500)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 20 Jan 2020 21:16:11 +0000 (16:16 -0500)
commit735a3ba00765baa717ff541fb5aa5105dc816ad7
tree1967093f33061a75859b2f2125b131e4bc26a883
parentc377f45c1833052f3d0d9d4ac341ee9917f9184c
radeonsi/gfx10: enable GS fast launch for triangles and strips with NGG culling

Only non-indexed triangle lists and strips are supported. This increases
performance if there is something to cull.

Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
src/gallium/drivers/radeonsi/gfx10_shader_ngg.c
src/gallium/drivers/radeonsi/si_pipe.h
src/gallium/drivers/radeonsi/si_shader.c
src/gallium/drivers/radeonsi/si_shader.h
src/gallium/drivers/radeonsi/si_state_draw.c
src/gallium/drivers/radeonsi/si_state_shaders.c