radeonsi: define SGPR register numbers
authorChristian König <deathsimple@vodafone.de>
Wed, 26 Sep 2012 18:42:23 +0000 (20:42 +0200)
committerChristian König <deathsimple@vodafone.de>
Mon, 1 Oct 2012 08:29:50 +0000 (10:29 +0200)
commit22ae062fa168866c743e316ca298eb65cdc565e7
tree1c09c17b4537648c597d75e4a0da849499636b95
parentc321b1bef15e2807de3f6225c4abcbf48969997a
radeonsi: define SGPR register numbers

Instead of hardcoding them.

Signed-off-by: Christian König <deathsimple@vodafone.de>
src/gallium/drivers/radeonsi/radeonsi_pm4.c
src/gallium/drivers/radeonsi/radeonsi_pm4.h
src/gallium/drivers/radeonsi/radeonsi_shader.c
src/gallium/drivers/radeonsi/radeonsi_shader.h
src/gallium/drivers/radeonsi/si_state.c
src/gallium/drivers/radeonsi/si_state_draw.c