mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 00:40:09 +01:00
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 <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16953>
This commit is contained in:
parent
7e11cdc77a
commit
541819b2d6
1 changed files with 0 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue