mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-20 08:50:25 +01:00
asahi: fix image_mask with unbind num trailing
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26963>
This commit is contained in:
parent
54ea408742
commit
1c60ced65b
1 changed files with 2 additions and 1 deletions
|
|
@ -98,7 +98,8 @@ agx_set_shader_images(struct pipe_context *pctx, enum pipe_shader_type shader,
|
|||
pipe_resource_reference(&ctx->stage[shader].images[i].resource, NULL);
|
||||
}
|
||||
|
||||
ctx->stage[shader].image_mask &= ~(((1ull << count) - 1) << start_slot);
|
||||
ctx->stage[shader].image_mask &=
|
||||
~BITFIELD64_MASK(count + unbind_num_trailing_slots) << start_slot;
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue