mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 02:28:10 +02:00
radv: set the image view aspect mask during subpass transitions
No functional changes because the aspect mask is still not used during image transitions but it will be needed for the separate depth/stencil aspects logic. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
This commit is contained in:
parent
459bc77763
commit
9dec90b7bc
1 changed files with 1 additions and 1 deletions
|
|
@ -2963,7 +2963,7 @@ static void radv_handle_subpass_image_transition(struct radv_cmd_buffer *cmd_buf
|
|||
struct radv_image_view *view = cmd_buffer->state.attachments[idx].iview;
|
||||
struct radv_sample_locations_state *sample_locs;
|
||||
VkImageSubresourceRange range;
|
||||
range.aspectMask = 0;
|
||||
range.aspectMask = view->aspect_mask;
|
||||
range.baseMipLevel = view->base_mip;
|
||||
range.levelCount = 1;
|
||||
range.baseArrayLayer = view->base_layer;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue