Mesa (main): zink: remove refs from desc ref updating
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Jul 7 00:31:25 UTC 2021
Module: Mesa
Branch: main
Commit: 59b142ae03c41dd93d093efba04a60c92761af2d
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=59b142ae03c41dd93d093efba04a60c92761af2d
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Tue May 11 09:21:37 2021 -0400
zink: remove refs from desc ref updating
Reviewed-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11692>
---
src/gallium/drivers/zink/zink_context.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/drivers/zink/zink_context.c b/src/gallium/drivers/zink/zink_context.c
index 6b68331838e..4c4108363d8 100644
--- a/src/gallium/drivers/zink/zink_context.c
+++ b/src/gallium/drivers/zink/zink_context.c
@@ -1795,7 +1795,7 @@ update_resource_refs_for_stage(struct zink_context *ctx, enum pipe_shader_type s
if (!res)
continue;
bool is_write = zink_resource_access_is_write(get_access_flags_for_binding(ctx, i, stage, j));
- zink_batch_reference_resource_rw(batch, res, is_write);
+ zink_batch_resource_usage_set(batch, res, is_write);
struct zink_sampler_view *sv = zink_sampler_view(ctx->sampler_views[stage][j]);
struct zink_sampler_state *sampler_state = ctx->sampler_states[stage][j];
More information about the mesa-commit
mailing list