radeonsi: set number of userdata SGPRs of GS copy shader to 4
authorMarek Olšák <marek.olsak@amd.com>
Tue, 23 Sep 2014 17:42:28 +0000 (19:42 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Sat, 4 Oct 2014 13:16:15 +0000 (15:16 +0200)
commit1f6c0b55df9f3553b18062ad2c7e2dc021d4c731
tree0623f221ca34fc4cf9b4a8a69ea1c7a94783b5b6
parent68d36c0bb532987db27a596408e0326f20ca0365
radeonsi: set number of userdata SGPRs of GS copy shader to 4

It only needs the constant buffer with clip planes and read-write resources
for the GS->VS ring and streamout. That's 2 pointers.

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