tu: Reset whether there is DS resolve for dynamic subpass
Otherwise we use old invalid value.
Relevant CTS tests:
dEQP-VK.pipeline.monolithic.multisample.misc.dynamic_rendering.multi_renderpass.r8g8b8a8_unorm_r16g16b16a16_sfloat_r16g16b16a16_*
Fixes: ed125e6cca
("tu: Initial support for dynamic rendering")
Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18999>
This commit is contained in:

committed by
Marge Bot

parent
e4473c8f7a
commit
a1c372cd84
@@ -987,6 +987,7 @@ tu_setup_dynamic_render_pass(struct tu_cmd_buffer *cmd_buffer,
|
||||
pass->attachments = cmd_buffer->dynamic_rp_attachments;
|
||||
|
||||
subpass->color_count = subpass->resolve_count = info->colorAttachmentCount;
|
||||
subpass->resolve_depth_stencil = false;
|
||||
subpass->color_attachments = cmd_buffer->dynamic_color_attachments;
|
||||
subpass->resolve_attachments = cmd_buffer->dynamic_resolve_attachments;
|
||||
subpass->feedback_invalidate = false;
|
||||
@@ -1105,6 +1106,7 @@ tu_setup_dynamic_inheritance(struct tu_cmd_buffer *cmd_buffer,
|
||||
|
||||
subpass->color_count = info->colorAttachmentCount;
|
||||
subpass->resolve_count = 0;
|
||||
subpass->resolve_depth_stencil = false;
|
||||
subpass->color_attachments = cmd_buffer->dynamic_color_attachments;
|
||||
subpass->resolve_attachments = NULL;
|
||||
subpass->feedback_invalidate = false;
|
||||
|
Reference in New Issue
Block a user