radeonsi: don't read tcs_out_lds_layout.vertex_size from an SGPR
authorMarek Olšák <marek.olsak@amd.com>
Tue, 5 Sep 2017 17:52:23 +0000 (19:52 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 7 Sep 2017 11:00:07 +0000 (13:00 +0200)
commit07fe10c75d0f099c1a4f6b5e41c65ed46f30223e
tree0909fed72baa3c35e731b8beaecfb1bf5e985a30
parent89bf8668c2864bd5573fb72dedcac270ebcd2c07
radeonsi: don't read tcs_out_lds_layout.vertex_size from an SGPR

TCS outputs are usually not written to LDS, so no stats here.

Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_shader.c
src/gallium/drivers/radeonsi/si_shader_internal.h
src/gallium/drivers/radeonsi/si_state_draw.c