radv: fix dynamic rendering with VRS
The structure type was wrong. This fixes a bunch failures in
dEQP-VK.fragment_shading_rate.dynamic_rendering.*.
Fixes: 7f3aba37d2 ("radv: Support Begin/EndRendering.")
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14106>
This commit is contained in:
committed by
Marge Bot
parent
92d84f189c
commit
31ad50d989
@@ -7646,7 +7646,7 @@ radv_CmdBeginRenderingKHR(VkCommandBuffer commandBuffer, const VkRenderingInfoKH
|
||||
att->finalLayout = vrs_info->imageLayout;
|
||||
|
||||
vrs_subpass_info = (VkFragmentShadingRateAttachmentInfoKHR){
|
||||
.sType = VK_STRUCTURE_TYPE_RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_INFO_KHR,
|
||||
.sType = VK_STRUCTURE_TYPE_FRAGMENT_SHADING_RATE_ATTACHMENT_INFO_KHR,
|
||||
.pNext = subpass.pNext,
|
||||
.pFragmentShadingRateAttachment = &vrs_ref,
|
||||
.shadingRateAttachmentTexelSize = vrs_info->shadingRateAttachmentTexelSize,
|
||||
|
||||
Reference in New Issue
Block a user