radeonsi/gfx10: implement gfx10_shader_ngg
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Tue, 7 May 2019 21:50:01 +0000 (23:50 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 3 Jul 2019 19:51:12 +0000 (15:51 -0400)
commit016a465d7d4e2ab7a924334d40fd60fbdf0b3276
tree405a94c7d8bd8629d382fc3af65bc66a9f431463
parentd0c204a1e078a803e54fd53124984bf84391d4b6
radeonsi/gfx10: implement gfx10_shader_ngg

For pipelines without API GS. We will later expand this to cover NGG
geometry shaders as well.

Note that the vtx offset passed into the GS part is just the
vertex index multiplied by VGT_ESGS_RING_ITEMSIZE.

Acked-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/common/ac_gpu_info.c
src/gallium/drivers/radeonsi/si_shader.h
src/gallium/drivers/radeonsi/si_state.h
src/gallium/drivers/radeonsi/si_state_shaders.c