commit | 453ea2d309c0314bea8a209f536e2b3c2c4d92c6 | [log] [tgz] |
---|---|---|
author | Vadim Girlin <vadimgirlin@gmail.com> | Sun Oct 13 19:53:54 2013 +0400 |
committer | Vadim Girlin <vadimgirlin@gmail.com> | Sun Oct 13 20:03:35 2013 +0400 |
tree | 8c8f37fa092c6c4e14cfd1e933a8650272f7aa6f | |
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 <vadimgirlin@gmail.com> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>