OSDN Git Service

r600g: use SIMPLE_FLOAT for blending to enable some optimizations
authorIlia Mirkin <imirkin@alum.mit.edu>
Sat, 4 Nov 2017 17:49:45 +0000 (13:49 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Thu, 9 Nov 2017 03:35:27 +0000 (22:35 -0500)
commitf317f72f7310cbe741d82970fd335cb8c83300eb
treed5a248a585e219d8cfd810d33a481c109014a30a
parent35433494f35f049aa0ba993391871504abfa0cc0
r600g: use SIMPLE_FLOAT for blending to enable some optimizations

Radeonsi also sets this flag. Seems to avoid pulling up the desintation
RT value when the dst blend factor is zero if it's not otherwise being
loaded. Among other things, it allows blending to overwrite infinity/NaN
values in the destination RT.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/r600/evergreen_state.c
src/gallium/drivers/r600/r600_state.c