[Mesa-dev] [PATCH] radeonsi: pass alpha_ref value to PS in the user sgpr
Michel Dänzer
michel at daenzer.net
Thu Oct 10 12:11:30 CEST 2013
On Don, 2013-10-10 at 12:49 +0400, Vadim Girlin wrote:
> 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 at gmail.com>
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
I presume this causes no regressions with piglit quick.tests.
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Mesa and X developer
More information about the mesa-dev
mailing list