radeonsi: Generalize counting of shader parameters
authorMichel Dänzer <michel.daenzer@amd.com>
Thu, 9 Jan 2014 06:33:34 +0000 (15:33 +0900)
committerMichel Dänzer <michel@daenzer.net>
Wed, 29 Jan 2014 02:06:58 +0000 (11:06 +0900)
commit7c7d7380f13d5863de846fef60d80ad13836634e
treec4f7feb50d9d2f51bcafc3d93c299b350257f592
parentf07a96dad1c6ad802ef11efb213ee3984646fbab
radeonsi: Generalize counting of shader parameters

Now it covers ES->GS as well as VS->PS.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_shader.c
src/gallium/drivers/radeonsi/si_shader.h
src/gallium/drivers/radeonsi/si_state_draw.c