radeonsi: reduce LDS stalls by 40% for tessellation
authorMarek Olšák <marek.olsak@amd.com>
Fri, 13 Jul 2018 04:23:36 +0000 (00:23 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 24 Jul 2018 00:23:52 +0000 (20:23 -0400)
commit86b52d42368ac496fe24bc6674e754c323381635
tree755cd4b6dad029f8882473bca8fdcdc78a42f78e
parent0866edede0116e33b4bed28737e4d242ad0da2ad
radeonsi: reduce LDS stalls by 40% for tessellation

40% is the decrease in the LGKM counter (which includes SMEM too)
for the GFX9 LSHS stage.

This will make the LDS size slightly larger, but I wasn't able to increase
the patch stride without corruption, so I'm increasing the vertex stride.
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