mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 00:00:11 +01:00
zink: simplify dumb update flagging in set_shader_images
cc: mesa-stable Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16508>
This commit is contained in:
parent
22954b4860
commit
a3dff53487
1 changed files with 1 additions and 1 deletions
|
|
@ -1493,7 +1493,7 @@ zink_set_shader_images(struct pipe_context *pctx,
|
|||
update = true;
|
||||
update_descriptor_state_image(ctx, p_stage, start_slot + i, res);
|
||||
} else if (image_view->base.resource) {
|
||||
update |= !!image_view->base.resource;
|
||||
update = true;
|
||||
|
||||
unbind_shader_image(ctx, p_stage, start_slot + i);
|
||||
update_descriptor_state_image(ctx, p_stage, start_slot + i, NULL);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue