llvmpipe/setup: force fs constant updating upon beginning queries
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Thu, 18 Mar 2021 17:31:01 +0000 (13:31 -0400)
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Fri, 19 Mar 2021 03:15:53 +0000 (23:15 -0400)
commitf0c8c6581c0d08f03e9a638997bf2806a526e40d
treeff16695fc78eb11b1223a03938745dbb4fc91957
parent6d995d3fe24fdc10119efc8964c54ba34f5b97c8
llvmpipe/setup: force fs constant updating upon beginning queries

this flushes any pending updates and avoids trying to access constant buffers
which have been unset (and are also potentially deleted)

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