mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-03 14:50:31 +01:00
radv: don't use hw resolves for r16g16 norm formats.
radeonsi has a workaround for this, but it uses a R16A16 format, which vulkan doesn't have, we could probably come up with a work around but for now just avoid hw resolves. Fixes: dEQP-VK.renderpass.suballocation.multisample.r16g16_*norm* Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Fixes:2a04f5481d(radv/meta: select resolve paths) Signed-off-by: Dave Airlie <airlied@redhat.com> (cherry picked from commitc727ea9370) Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Conflicts: src/amd/vulkan/radv_meta_resolve.c
This commit is contained in:
parent
c30a6252c2
commit
eaa3da4189
1 changed files with 4 additions and 1 deletions
|
|
@ -347,7 +347,10 @@ static void radv_pick_resolve_method_images(struct radv_image *src_image,
|
|||
enum radv_resolve_method *method)
|
||||
|
||||
{
|
||||
if (vk_format_is_int(src_image->vk_format))
|
||||
if (src_image->vk_format == VK_FORMAT_R16G16_UNORM ||
|
||||
src_image->vk_format == VK_FORMAT_R16G16_SNORM)
|
||||
*method = RESOLVE_COMPUTE;
|
||||
else if (vk_format_is_int(src_image->vk_format))
|
||||
*method = RESOLVE_COMPUTE;
|
||||
|
||||
if (dest_image->surface.num_dcc_levels > 0) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue