From 59b142ae03c41dd93d093efba04a60c92761af2d Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Tue, 11 May 2021 09:21:37 -0400 Subject: [PATCH] zink: remove refs from desc ref updating Reviewed-by: Dave Airlie Part-of: --- 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];