broadcom/vc5: Fix simulator assertion failures about color RT clears.
authorEric Anholt <eric@anholt.net>
Fri, 17 Nov 2017 01:50:55 +0000 (17:50 -0800)
committerEric Anholt <eric@anholt.net>
Sun, 19 Nov 2017 18:12:30 +0000 (10:12 -0800)
commit65ae4527d928d12dff349680e35469f9503c7f08
treec02ed8fc5231bb8e845e68796f34b673efcb2ca5
parentae44845affebede222dce104bf320465d22bd3c6
broadcom/vc5: Fix simulator assertion failures about color RT clears.

When we tried to clear color while storing depth, it assertion failed
about basically not having enough information to decide which color RT to
clear.  It turns out the STORE_GENERAL picks the buffer according to the
color buffer being stored, or all of them if NONE.  If you're doing depth,
it doesn't know which to pick.
src/gallium/drivers/vc5/vc5_rcl.c