llvmpipe/setup: use bigger hammer to force fs constant updating correctly
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Fri, 19 Mar 2021 14:10:58 +0000 (10:10 -0400)
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Fri, 19 Mar 2021 20:04:39 +0000 (16:04 -0400)
commit62335d7bc510721dad2b61404ee6101203bacc7a
tree29657cb3e270c531f4e4161d654c353c748705ca
parent012bc2fc776345630edc85ad10db8e9e75cf5ed0
llvmpipe/setup: use bigger hammer to force fs constant updating correctly

this race condition between destroying ubo backing memory in lavapipe and
performing descriptor updates can be triggered from more than just queries,
so forcing the update just before the Problem Area seems like the best way to
permanently resolve the issue

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9711>
src/gallium/drivers/llvmpipe/lp_setup.c