radeonsi/gfx10: export primitives at the beginning of VS/TES
authorMarek Olšák <marek.olsak@amd.com>
Fri, 3 Jan 2020 21:59:20 +0000 (16:59 -0500)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 20 Jan 2020 21:16:11 +0000 (16:16 -0500)
commita966729c840a96af993e9039d9cf09b9d8921c4b
tree0fed5ef408ebe8c0e6ba46624b1d390c4f6737f3
parent5a0fcf11f0d82f0bd20cd15addfa8086d715c16b
radeonsi/gfx10: export primitives at the beginning of VS/TES

This decreases VGPR usage and will allow us to merge some IF blocks
in shaders.

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_shader.c
src/gallium/drivers/radeonsi/si_shader_internal.h