llvmpipe: flush resources on sampler view binding
authorDave Airlie <airlied@redhat.com>
Thu, 23 Apr 2020 02:32:53 +0000 (12:32 +1000)
committerMarge Bot <eric+marge@anholt.net>
Fri, 10 Jul 2020 22:04:27 +0000 (22:04 +0000)
commit54232bee06a3742e42754b223712de17a3f7ac59
treed1ab833a4079734204f182b5f0d191f9cfd833c9
parent7582f4a49cdb87b1657e44ba38104445bc28bd77
llvmpipe: flush resources on sampler view binding

The resource may have been written to as images previously.

KHR-GL45.shader_image_load_store.advanced-sync-imageAccess2

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5835>
src/gallium/drivers/llvmpipe/lp_state_sampler.c