radeonsi: before storing tess levels, load them from LDS instead of temporary
authorMarek Olšák <marek.olsak@amd.com>
Sun, 2 Aug 2015 23:34:32 +0000 (01:34 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 6 Aug 2015 18:44:36 +0000 (20:44 +0200)
commit60159bcfc66a067b50da06f5cabfa20d72e898ed
treed44f652dfc4411f3aa040e8975fdc3d0bcfc88fb
parentc2a5d1dcb14acbd2db4a674453a8622d4b9a572a
radeonsi: before storing tess levels, load them from LDS instead of temporary

Also use only one store if stride <= 4.
All the fetches from and stores to temporaries can be removed now.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91461

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/drivers/radeonsi/si_shader.c