r600g: use SIMPLE_FLOAT for blending to enable some optimizations

Graphics / Mesa 3D Graphics Library / Mesa - Ilia Mirkin [alum.mit.edu] - 9 November 2017 03:35 EST

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.

f317f72f73 r600g: use SIMPLE_FLOAT for blending to enable some optimizations
src/gallium/drivers/r600/evergreen_state.c | 1 +
src/gallium/drivers/r600/r600_state.c | 1 +
2 files changed, 2 insertions(+)

Upstream: cgit.freedesktop.org


  • Share