diff --git a/.pick_status.json b/.pick_status.json index 5c0e877bf06..afdfd3a2f27 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -3794,7 +3794,7 @@ "description": "radv: set DRLR mapping info from inheritance info when present", "nominated": true, "nomination_type": 1, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": null, "notes": null diff --git a/src/amd/vulkan/radv_cmd_buffer.c b/src/amd/vulkan/radv_cmd_buffer.c index 8fe6b2fc779..9de90e40212 100644 --- a/src/amd/vulkan/radv_cmd_buffer.c +++ b/src/amd/vulkan/radv_cmd_buffer.c @@ -6928,6 +6928,18 @@ radv_BeginCommandBuffer(VkCommandBuffer commandBuffer, const VkCommandBufferBegi */ render->has_hiz_his = true; } + + const VkRenderingAttachmentLocationInfo *ral_info = + vk_find_struct_const(pBeginInfo->pInheritanceInfo->pNext, RENDERING_ATTACHMENT_LOCATION_INFO); + if (ral_info) { + radv_CmdSetRenderingAttachmentLocations(commandBuffer, ral_info); + } + + const VkRenderingInputAttachmentIndexInfo *ria_info = + vk_find_struct_const(pBeginInfo->pInheritanceInfo->pNext, RENDERING_INPUT_ATTACHMENT_INDEX_INFO); + if (ria_info) { + radv_CmdSetRenderingInputAttachmentIndices(commandBuffer, ria_info); + } } cmd_buffer->state.inherited_pipeline_statistics = pBeginInfo->pInheritanceInfo->pipelineStatistics;