radeonsi: allow out-of-order rasterization in commutative blending cases
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Mon, 18 Sep 2017 09:24:10 +0000 (11:24 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Mon, 18 Sep 2017 09:25:20 +0000 (11:25 +0200)
commit7a62f8621ac0d0d0604f3bf1c9a492050b44d1e8
tree8033a128310a0b4ce0d8215d4fc0afadc2bb882f
parent8c56c45cd48e940283a8d3e951750c57694718f9
radeonsi: allow out-of-order rasterization in commutative blending cases

We do not enable this by default for additive blending, since it slightly
breaks OpenGL invariance guarantees due to non-determinism.

Still, there may be some applications can benefit from white-listing
via the radeonsi_commutative_blend_add drirc setting without any real
visible artifacts.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
src/gallium/drivers/radeonsi/driinfo_radeonsi.h
src/gallium/drivers/radeonsi/si_pipe.c
src/gallium/drivers/radeonsi/si_pipe.h
src/gallium/drivers/radeonsi/si_state.c
src/gallium/drivers/radeonsi/si_state.h
src/util/xmlpool/t_options.h