radeonsi: don't read the LS output vertex stride from an SGPR in LS
authorMarek Olšák <marek.olsak@amd.com>
Tue, 5 Sep 2017 15:46:09 +0000 (17:46 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 7 Sep 2017 11:00:07 +0000 (13:00 +0200)
commitf974bb768b8a9def7effea561fad6972376fe35c
tree90f2923284feba59bc66b321e133aa585f8667a9
parent22f5dfd300f791ecd2c79565731a72074bc7562f
radeonsi: don't read the LS output vertex stride from an SGPR in LS

Now it's able to generate ds_write2_b64 instead of ds_write2_b32.

-20 bytes in one shader binary. (having only 1 output)

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