vc4: Add support for storing sample mask.
authorEric Anholt <eric@anholt.net>
Sat, 21 Nov 2015 01:18:03 +0000 (17:18 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 4 Dec 2015 17:23:55 +0000 (09:23 -0800)
commit74c4b3b80cc4246fd1eb503d97edb3d293eef5de
tree8a2abe8d61c1bc772c249c2f78db25fb2bee8895
parent3a508a0d94d020d9cd95f8882e9393d83ffac377
vc4: Add support for storing sample mask.

From the API perspective, writing 1 bits can't turn on pixels that were
off, so we AND it with the sample mask from the payload.
src/gallium/drivers/vc4/vc4_program.c
src/gallium/drivers/vc4/vc4_qir.c
src/gallium/drivers/vc4/vc4_qir.h
src/gallium/drivers/vc4/vc4_qpu_emit.c
src/gallium/drivers/vc4/vc4_qpu_schedule.c