radeonsi: (User) SGPR related cleanups.
authorMichel Dänzer <michel.daenzer@amd.com>
Thu, 19 Apr 2012 09:41:48 +0000 (11:41 +0200)
committerMichel Dänzer <michel@daenzer.net>
Thu, 19 Apr 2012 17:59:54 +0000 (19:59 +0200)
commit9918fbd0268601b4dcd7c07c883733c959d78f9e
treea6d0e2dab383614d82a2ef68c4e0972667a71741
parentde12c6cb5470eb51f71b5392efe012a10230d3d0
radeonsi: (User) SGPR related cleanups.

Use the same user SGPRs for the same purpose in vertex and pixel shaders.

Better calculation of the number of SGPRs to reserve.
src/gallium/drivers/radeonsi/evergreen_state.c
src/gallium/drivers/radeonsi/r600_state_common.c
src/gallium/drivers/radeonsi/radeonsi_shader.c