freedreno/a3xx: color masking works like a blend for some formats
authorIlia Mirkin <imirkin@alum.mit.edu>
Sat, 25 Apr 2015 19:37:24 +0000 (15:37 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Tue, 28 Apr 2015 00:17:07 +0000 (20:17 -0400)
commit52614f59b7a9c4ae5efeacba26fa811568818811
tree1e38c82744fa00418774b59dc77e6eca85022d77
parent9fc3f472784b2ba53655b715d602268bef5bf12e
freedreno/a3xx: color masking works like a blend for some formats

When there is a colormask active that does not cover all the channels,
enable reading in the destination like with a combining blend
operation. This fixes fbo-blending-formats on a3xx.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/freedreno/a3xx/fd3_emit.c