mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 08:40:11 +01:00
zink: unset gfx shader read when unbinding shader images
this otherwise will never be unset
Fixes: 50e764fa50 ("zink: track gfx/compute descriptor barrier info")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21229>
This commit is contained in:
parent
892eae9af0
commit
ee53b07c0a
1 changed files with 1 additions and 0 deletions
|
|
@ -1673,6 +1673,7 @@ unbind_shader_image(struct zink_context *ctx, gl_shader_stage stage, unsigned sl
|
|||
zink_buffer_view_reference(zink_screen(ctx->base.screen), &image_view->buffer_view, NULL);
|
||||
} else {
|
||||
unbind_descriptor_stage(res, stage);
|
||||
unbind_descriptor_reads(res, stage);
|
||||
if (!res->image_bind_count[is_compute])
|
||||
check_for_layout_update(ctx, res, is_compute);
|
||||
zink_surface_reference(zink_screen(ctx->base.screen), &image_view->surface, NULL);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue