One of the load_store_op_none tests is currently using the incorrect
VK_FORMAT_R8G8B8A8_UNORM format for the color attachments.
It should be using VK_FORMAT_R8G8B8A8_UINT instead.
VK-GL-CTS issue: 3154
Components: Vulkan
Affected tests:
dEQP-VK.renderpass_with_dynamic_rendering.suballocation.load_store_op_none.color_load_op_none_store_op_none_resolve
Change-Id: I7dd8b4da05fef58d91a8913ac49912ba683f033d
(cherry picked from commit
37c52f8beafb8ad45bb84cd54c17e41c2e02825f)
if (att.usage & ATTACHMENT_USAGE_DEPTH_STENCIL)
renderingCreateInfo.depthStencilAttachmentFormat = VK_FORMAT_D24_UNORM_S8_UINT;
else
- colorVector.push_back(VK_FORMAT_R8G8B8A8_UNORM);
+ {
+ VkFormat format = getFormat(att.usage, m_testParams.depthStencilFormat);
+ colorVector.push_back(format);
+ }
}
vk::VkPipelineRenderingCreateInfoKHR* nextPtr = DE_NULL;