radv: Do not use VK_FORMAT_UNDEFINED in meta passes.
Is used in VK_KHR_dynamic_rendering to indicate non-presence of color attachments. Wasn't really valid Vulkan so we otherwise don't need a workaround in the renderpass->dynamic rendering conversion. Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13721>
This commit is contained in:
parent
6968c87e97
commit
403a5c1a79
|
@ -159,7 +159,7 @@ create_pass(struct radv_device *device)
|
|||
|
||||
attachment.sType = VK_STRUCTURE_TYPE_ATTACHMENT_DESCRIPTION_2;
|
||||
attachment.pNext = NULL;
|
||||
attachment.format = VK_FORMAT_UNDEFINED;
|
||||
attachment.format = VK_FORMAT_R8_UNORM;
|
||||
attachment.samples = 1;
|
||||
attachment.loadOp = VK_ATTACHMENT_LOAD_OP_LOAD;
|
||||
attachment.storeOp = VK_ATTACHMENT_STORE_OP_STORE;
|
||||
|
|
Loading…
Reference in New Issue