diff options
author | Vadim Girlin <[email protected]> | 2013-10-13 19:53:54 +0400 |
---|---|---|
committer | Vadim Girlin <[email protected]> | 2013-10-13 20:03:35 +0400 |
commit | 453ea2d309c0314bea8a209f536e2b3c2c4d92c6 (patch) | |
tree | 8c8f37fa092c6c4e14cfd1e933a8650272f7aa6f /src/gallium/drivers/radeonsi/r600_translate.c | |
parent | 10ddeb910ba8386a6b46396d827aed4116091b0b (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