Mesa (main): zink: fix typo for image descriptor rebinds
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Sat Feb 26 15:37:06 UTC 2022
Module: Mesa
Branch: main
Commit: 7431c30999872774af896d39e7c233d8fae04c67
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7431c30999872774af896d39e7c233d8fae04c67
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Tue Feb 15 09:14:54 2022 -0500
zink: fix typo for image descriptor rebinds
Reviewed-by: Emma Anholt <emma at anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15173>
---
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 d317350e3cc..35193add6c1 100644
--- a/src/gallium/drivers/zink/zink_context.c
+++ b/src/gallium/drivers/zink/zink_context.c
@@ -3927,7 +3927,7 @@ rebind_image(struct zink_context *ctx, struct zink_resource *res)
for (unsigned j = 0; j < ctx->di.num_images[i]; j++) {
if (zink_resource(ctx->image_views[i][j].base.resource) == res) {
zink_screen(ctx->base.screen)->context_invalidate_descriptor_state(ctx, i, ZINK_DESCRIPTOR_TYPE_IMAGE, j, 1);
- update_descriptor_state_sampler(ctx, i, j, res);
+ update_descriptor_state_image(ctx, i, j, res);
_mesa_set_add(ctx->need_barriers[i == PIPE_SHADER_COMPUTE], res);
}
}
More information about the mesa-commit
mailing list