st/mesa: add support for advanced blend when fb can be fetched from
authorIlia Mirkin <imirkin@alum.mit.edu>
Mon, 2 Jan 2017 04:47:25 +0000 (23:47 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Tue, 17 Jan 2017 02:13:09 +0000 (21:13 -0500)
commit6b7511c2f123014fe469a11d0b46fbff357335e4
tree61311469d6d500ea4c872a29e66c750211b4b2ac
parenta1c84842710268793c4a8de3cad8db95b6f37a82
st/mesa: add support for advanced blend when fb can be fetched from

This implements support for emitting FBFETCH ops, using the existing
lowering pass for advanced blend logic, and disabling hw blend when
advanced blending is enabled.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/mesa/state_tracker/st_atom_blend.c
src/mesa/state_tracker/st_cb_texturebarrier.c
src/mesa/state_tracker/st_extensions.c
src/mesa/state_tracker/st_glsl_to_tgsi.cpp