llvmpipe: flush/reference fs ubos on bind

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22828>
This commit is contained in:
Mike Blumenkrantz
2023-05-12 09:05:01 -04:00
committed by Marge Bot
parent b9c588b47b
commit 83a7a88d6b
3 changed files with 9 additions and 0 deletions

View File

@@ -837,6 +837,7 @@ llvmpipe_is_resource_referenced(struct pipe_context *pipe,
if (!(presource->bind & (PIPE_BIND_DEPTH_STENCIL |
PIPE_BIND_RENDER_TARGET |
PIPE_BIND_SAMPLER_VIEW |
PIPE_BIND_CONSTANT_BUFFER |
PIPE_BIND_SHADER_BUFFER |
PIPE_BIND_SHADER_IMAGE)))
return LP_UNREFERENCED;