summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/r600_translate.c
diff options
context:
space:
mode:
authorVadim Girlin <[email protected]>2013-10-13 19:53:54 +0400
committerVadim Girlin <[email protected]>2013-10-13 20:03:35 +0400
commit453ea2d309c0314bea8a209f536e2b3c2c4d92c6 (patch)
tree8c8f37fa092c6c4e14cfd1e933a8650272f7aa6f /src/gallium/drivers/radeonsi/r600_translate.c
parent10ddeb910ba8386a6b46396d827aed4116091b0b (diff)
radeonsi: pass alpha_ref value to PS in the user sgpr
Currently it's hardcoded in the shader, so every change requires compilation of the shader variant, killing the performance in Serious Sam 3 and probably other apps. This patch passes alpha_ref in the user sgpr and removes it from the shader key. Signed-off-by: Vadim Girlin <[email protected]> Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/r600_translate.c')
0 files changed, 0 insertions, 0 deletions