mesa/src/amd/vulkan
Simon Ser 0e94675494 radv: stop special-casing multi-planar formats in radv_get_modifier_flags
In radv_get_modifier_flags, we had a special case for multi-planar
formats. However ac_is_modifier_supported should already take care of
rejecting unsupported modifiers for multi-planar buffers.

Some time ago, ac_is_modifier_supported rejected any non-linear modifier
for multi-planar formats. 35e25ea1d0 ("ac/surface: allow non-DCC modifiers
for YUV on GFX9+") changed that to allow non-DCC modifiers with
multi-planar formats on GFX9+. Since then, the radv check has been out
of sync.

A similar patch was applied to radeonsi in 979e138695 ("radeonsi: stop
special-casing YUV formats in si_query_dmabuf_modifiers").

This fixes tiling artifacts with NV12 buffers.

Signed-off-by: Simon Ser <contact@emersion.fr>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10623>
2021-05-10 14:31:21 +00:00
..
layers radv: Format. 2021-04-10 03:31:58 +02:00
winsys radv: Only require DRM 3.23. 2021-05-03 13:55:48 +00:00
.editorconfig radv: Update editorconfig. 2021-04-10 03:31:58 +02:00
Android.mk radv: Remove the format table. 2021-02-13 21:47:17 +00:00
Makefile.sources radv: add support for copying VRS rates into HTILE 2021-04-14 09:31:13 +00:00
meson.build radv: add support for copying VRS rates into HTILE 2021-04-14 09:31:13 +00:00
radv_android.c radv: Format. 2021-04-10 03:31:58 +02:00
radv_check_va.py radv: add a Python script to check if a VA was ever valid 2020-12-30 08:40:21 +01:00
radv_cmd_buffer.c radv,aco: compact vertex buffer descriptors 2021-05-10 12:09:14 +00:00
radv_constants.h radv: Format. 2021-04-10 03:31:58 +02:00
radv_cs.h radv: Format. 2021-04-10 03:31:58 +02:00
radv_debug.c radv,aco: compact vertex buffer descriptors 2021-05-10 12:09:14 +00:00
radv_debug.h radv: enable TC-compat CMASK on GFX8-9 2021-04-28 08:01:41 +00:00
radv_descriptor_set.c radv: remove radv_image_iview::bo 2021-04-20 12:16:33 +00:00
radv_descriptor_set.h radv: Format. 2021-04-10 03:31:58 +02:00
radv_device.c radv: advertise VK_EXT_extended_dynamic_state2 2021-05-06 20:58:59 +00:00
radv_formats.c radv: stop special-casing multi-planar formats in radv_get_modifier_flags 2021-05-10 14:31:21 +00:00
radv_image.c radv: fix missing ITERATE_256 for D/S MSAA images that are TC-compat HTILE 2021-05-06 06:30:05 +00:00
radv_llvm_helper.cpp radv: remove RADV_DEBUG=nothreadllvm 2021-04-23 11:26:48 +00:00
radv_meta.c radv: implement dynamic rasterizer discard enable 2021-05-06 20:58:59 +00:00
radv_meta.h radv: implement dynamic rasterizer discard enable 2021-05-06 20:58:59 +00:00
radv_meta_blit.c radv: Format. 2021-04-10 03:31:58 +02:00
radv_meta_blit2d.c radv: Format. 2021-04-10 03:31:58 +02:00
radv_meta_buffer.c radv: Format. 2021-04-10 03:31:58 +02:00
radv_meta_bufimage.c radv: Format. 2021-04-10 03:31:58 +02:00
radv_meta_clear.c radv: fix various CMASK regressions on GFX9 2021-04-27 06:51:26 +00:00
radv_meta_copy.c radv: Format. 2021-04-10 03:31:58 +02:00
radv_meta_copy_vrs_htile.c radv: add support for copying VRS rates into HTILE 2021-04-14 09:31:13 +00:00
radv_meta_dcc_retile.c radv: Re-enable retiling. 2021-04-13 12:08:24 +00:00
radv_meta_decompress.c radv: Format. 2021-04-10 03:31:58 +02:00
radv_meta_fast_clear.c radv: fix barrier in radv_decompress_dcc_compute shader 2021-04-15 12:02:36 +00:00
radv_meta_fmask_expand.c radv: Format. 2021-04-10 03:31:58 +02:00
radv_meta_resolve.c ac/surface: inline and reorder gfx9_surf_flags for better packing 2021-04-12 20:53:45 +00:00
radv_meta_resolve_cs.c radv: check if DCC is enabled when resolving different levels 2021-05-03 08:23:54 +02:00
radv_meta_resolve_fs.c radv: Format. 2021-04-10 03:31:58 +02:00
radv_nir_lower_ycbcr_textures.c Convert most remaining free-form fall-through comments to FALLTHROUGH 2021-04-15 16:01:22 +00:00
radv_nir_to_llvm.c radv,aco: compact vertex buffer descriptors 2021-05-10 12:09:14 +00:00
radv_pass.c radv: handle the VRS attachment subpass 2021-04-14 09:31:13 +00:00
radv_pipeline.c radv,aco: use per-attribute vertex descriptors for robustness 2021-05-10 12:09:14 +00:00
radv_pipeline_cache.c radv: cleanup LLVM related includes 2021-04-23 11:52:01 +02:00
radv_private.h radv,aco: use per-attribute vertex descriptors for robustness 2021-05-10 12:09:14 +00:00
radv_query.c radv: Format. 2021-04-10 03:31:58 +02:00
radv_radeon_winsys.h radv: Refactor cs_domain to be a winsys function. 2021-04-14 15:16:17 +00:00
radv_shader.c Revert "radv,aco: don't use MUBUF for multi-channel loads on GFX8 with robustness2" 2021-05-10 12:09:14 +00:00
radv_shader.h Revert "radv,aco: don't use MUBUF for multi-channel loads on GFX8 with robustness2" 2021-05-10 12:09:14 +00:00
radv_shader_args.c radv,aco: use per-attribute vertex descriptors for robustness 2021-05-10 12:09:14 +00:00
radv_shader_args.h radv: Format. 2021-04-10 03:31:58 +02:00
radv_shader_helper.h radv: remove RADV_DEBUG=nothreadllvm 2021-04-23 11:26:48 +00:00
radv_shader_info.c radv,aco: use per-attribute vertex descriptors for robustness 2021-05-10 12:09:14 +00:00
radv_sqtt.c radv: Format. 2021-04-10 03:31:58 +02:00
radv_util.c radv: Format. 2021-04-10 03:31:58 +02:00
radv_wsi.c radv: Format. 2021-04-10 03:31:58 +02:00
radv_wsi_display.c radv: Format. 2021-04-10 03:31:58 +02:00
radv_wsi_wayland.c radv: Format. 2021-04-10 03:31:58 +02:00
radv_wsi_x11.c radv: Format. 2021-04-10 03:31:58 +02:00
si_cmd_buffer.c radv: implement dynamic primitive restart enable 2021-05-06 20:58:59 +00:00
vk_format.h radv: Format. 2021-04-10 03:31:58 +02:00
vulkan.sym radv: Add Android module info to linker script. 2021-01-12 20:17:52 +00:00