mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 18:58:10 +02: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>
(cherry picked from commit a3dff53487)
This commit is contained in:
parent
78feb8286f
commit
308af4a479
2 changed files with 2 additions and 2 deletions
|
|
@ -562,7 +562,7 @@
|
|||
"description": "zink: simplify dumb update flagging in set_shader_images",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1500,7 +1500,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