From 541819b2d6d37f435702b63817a363be2e3e447b Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Wed, 25 May 2022 16:37:32 -0500 Subject: [PATCH] vulkan/render_pass: Allow for mixed sample counts RADV supports VK_AMD_mixed_attachment_samples which does exactly what it sounds like. Reviewed-by: Samuel Pitoiset Part-of: --- src/vulkan/runtime/vk_render_pass.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/vulkan/runtime/vk_render_pass.c b/src/vulkan/runtime/vk_render_pass.c index 048a1875df6..4f96ac39acd 100644 --- a/src/vulkan/runtime/vk_render_pass.c +++ b/src/vulkan/runtime/vk_render_pass.c @@ -648,7 +648,6 @@ vk_common_CreateRenderPass2(VkDevice _device, color_formats[a] = att->format; - assert(samples == 0 || samples == att->samples); samples |= att->samples; } } @@ -668,7 +667,6 @@ vk_common_CreateRenderPass2(VkDevice _device, if (vk_format_has_stencil(att->format)) stencil_format = att->format; - assert(samples == 0 || samples == att->samples); samples |= att->samples; } }