radeonsi/gfx10: rewrite late alloc computation
authorMarek Olšák <marek.olsak@amd.com>
Thu, 9 Jan 2020 21:09:47 +0000 (16:09 -0500)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 20 Jan 2020 21:16:11 +0000 (16:16 -0500)
commitc377f45c1833052f3d0d9d4ac341ee9917f9184c
tree1f778f32974b21ee8ce324aae8995f47bd9944fb
parent4e4b2d13f09023c294f69235ca1ff16db1e9d7aa
radeonsi/gfx10: rewrite late alloc computation

- Use conservative late alloc when the number of CUs <= 6.
- Move the late alloc GS register to the GS shader state, so that it can be
  tuned for NGG culling.

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