v3d: Store the actual mask of color buffers present in the key.
authorEric Anholt <eric@anholt.net>
Fri, 1 Feb 2019 21:13:48 +0000 (13:13 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 5 Feb 2019 23:42:04 +0000 (15:42 -0800)
commitbdef17b052b9c4d2568544c1b745880f5db50f1d
treeb6cbe476cacab035384cb3872e68d5e763cc8210
parent17a649af052b8d4b0eef0a6a52b772ceb9732494
v3d: Store the actual mask of color buffers present in the key.

If you only bound rt 1+, we'd still emit a write to the rt0 that isn't
present (noticed while debugging an
ext_framebuffer_multisample-alpha-to-coverage-no-draw-buffer-zero
regression in another change).
src/broadcom/compiler/nir_to_vir.c
src/broadcom/compiler/v3d_compiler.h
src/gallium/drivers/v3d/v3d_program.c