freedreno: Clear gs/tcs/tes state for clear blits
authorRob Clark <robdclark@chromium.org>
Wed, 9 Sep 2020 21:03:43 +0000 (14:03 -0700)
committerMarge Bot <eric+marge@anholt.net>
Thu, 10 Sep 2020 02:36:59 +0000 (02:36 +0000)
commit6e4d0a48e3dad0dbf0515b5391b8d0d52795e0fc
tree6e0f4fab695ee7f528e1a63e3280d34cab5fb8d2
parent18f5d362829f8299736feac077df19f513a120af
freedreno: Clear gs/tcs/tes state for clear blits

Otherwise we could emit a clear blit that is trying to use some random
GS stage, which doesn't go well.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6649>
src/gallium/drivers/freedreno/freedreno_blitter.c