Skip to content

anv: remove a format assert when setting up attachments

Tapani Pälli requested to merge tpalli/mesa:fix-6843b into main

There are exceptions in spec where the framebuffer image format and format given for render pass attachment may differ. This happens in particular when subpass has resolve attachment that might resolve only depth from a combined depth+stencil format. There the formats do not need to match but be 'compatible' with each other.

As example using VK_FORMAT_D32_SFLOAT format is considered compatible when actual framebuffer format is VK_FORMAT_D32_SFLOAT_S8_UINT.

Signed-off-by: Tapani Pälli tapani.palli@intel.com

Merge request reports