r600: work out target mask at framebuffer bind.
authorDave Airlie <airlied@redhat.com>
Mon, 5 Feb 2018 03:54:23 +0000 (13:54 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 6 Feb 2018 20:16:55 +0000 (06:16 +1000)
commit2d5b5d267e1b0997ebe9fe7bcc06f6b79af48e43
tree14087f0b2fd33e142615b506871be19e7ec9c4c5
parent5b14e06d8b42e2b08ebc52b6c314ef8647d87a1f
r600: work out target mask at framebuffer bind.

If we only get 1,2,3,6 framebuffers we want a sparse target mask.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/evergreen_state.c
src/gallium/drivers/r600/r600_pipe.h
src/gallium/drivers/r600/r600_state.c