mesa/src/amd/vulkan
Samuel Pitoiset 7880faccc5 radv: add missing DB flush after depth/stencil resolve operations
I thought this was a bug in CTS but the Vulkan spec says:

    "VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT specifies write access
     to a color, resolve, or depth/stencil resolve attachment during
     a render pass or via certain subpass load and store operations."

So, VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT is used to synchronize
depth/stencil resolve attachments. Yes, it's counterintuitive.

This can't actually be fixed properly for now because RADV performs
the end subpass barrier *before* resolve attachments instead of after.

Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8138>
2020-12-17 15:19:57 +00:00
..
layers radv: Use standard __VA_ARGS__ macro 2020-12-02 11:27:01 +00:00
winsys radv: Fix leak in radv_amdgpu_winsys_destroy() 2020-12-02 11:27:01 +00:00
.editorconfig amd: add .editorconfig 2017-08-29 01:08:58 +03:00
Android.mk android: radv: add libcutils shared dependency 2020-12-07 23:54:25 +01:00
Makefile.sources radv: Use common gfx10_format_table.h 2020-06-03 00:17:00 +00:00
meson.build radv,aco: Compile with -Wimplicit-fallthrough when available 2020-12-15 18:22:46 +00:00
radv_android.c radv/android: Remove unused variable 2020-08-05 18:08:07 +00:00
radv_cmd_buffer.c radv: implement VK_KHR_fragment_shading_rate 2020-12-14 16:22:38 +00:00
radv_constants.h radv: Remove RANGE_SIZE usage 2020-05-05 00:28:00 +00:00
radv_cs.h radv: Fix emitting SQTT userdata. 2020-09-28 15:46:08 +00:00
radv_debug.c radv: Use unsigned with u_bit_scan for MSVC 2020-12-02 11:27:01 +00:00
radv_debug.h radv: fix using bitfields for debug/perftest options 2020-11-30 08:15:09 +01:00
radv_descriptor_set.c radv: Implement VK_VALVE_mutable_descriptor_type. 2020-12-07 15:25:17 +00:00
radv_descriptor_set.h radv: Do not access set layout during vkCmdBindDescriptorSets. 2020-10-28 03:06:20 +00:00
radv_device.c radv: advertise VK_KHR_fragment_shading_rate on GFX10.3+ 2020-12-14 16:22:39 +00:00
radv_entrypoints_gen.py Switch from cElementTree to ElementTree. 2020-06-05 23:42:54 -07:00
radv_extensions.py radv: advertise VK_KHR_fragment_shading_rate on GFX10.3+ 2020-12-14 16:22:39 +00:00
radv_formats.c radv: implement VK_EXT_shader_image_atomic_int64 2020-11-09 18:28:59 +00:00
radv_icd.py python: Specify the JSON separators 2018-07-05 12:52:38 +01:00
radv_image.c radv: use 32-bit predication for skipping FCE on GFX10.3+ 2020-12-07 09:30:05 +00:00
radv_llvm_helper.cpp radv/gfx10: use the correct target machine for Wave32 2019-08-02 09:37:38 +02:00
radv_meta.c radv: implement VK_KHR_fragment_shading_rate 2020-12-14 16:22:38 +00:00
radv_meta.h radv: implement VK_KHR_fragment_shading_rate 2020-12-14 16:22:38 +00:00
radv_meta_blit.c radv: use intrinsic builders 2020-11-26 17:50:38 +00:00
radv_meta_blit2d.c radv: use intrinsic builders 2020-11-26 17:50:38 +00:00
radv_meta_buffer.c radv: use intrinsic builders 2020-11-26 17:50:38 +00:00
radv_meta_bufimage.c radv: use intrinsic builders 2020-11-26 17:50:38 +00:00
radv_meta_clear.c radv: fix clearing FMASK for layered MSAA images on GFX9+ 2020-12-07 16:19:22 +00:00
radv_meta_copy.c radv: add support for CmdCopyImageToBuffer2KHR() 2020-09-23 07:14:15 +00:00
radv_meta_decompress.c ac,amd/llvm,radv: Initialize structs with {0} 2020-10-14 12:15:23 +00:00
radv_meta_fast_clear.c radv: use 32-bit predication for skipping FCE on GFX10.3+ 2020-12-07 09:30:05 +00:00
radv_meta_fmask_expand.c radv: use intrinsic builders 2020-11-26 17:50:38 +00:00
radv_meta_resolve.c radv: add missing DB flush after depth/stencil resolve operations 2020-12-17 15:19:57 +00:00
radv_meta_resolve_cs.c radv: add support for resolving layered depth/stencil images 2020-12-15 18:04:39 +00:00
radv_meta_resolve_fs.c radv: use intrinsic builders 2020-11-26 17:50:38 +00:00
radv_nir_lower_ycbcr_textures.c radv: use common nir_convert_ycbcr 2020-04-20 22:01:43 +00:00
radv_nir_to_llvm.c radv/llvm: implement a workaround for gl_FragCoord.z with VRS on GFX10.3 2020-12-14 16:22:38 +00:00
radv_pass.c radv: destroy the base object if VkCreateRenderPass*() failed 2020-07-15 13:53:21 +02:00
radv_pipeline.c radv: implement VK_KHR_fragment_shading_rate 2020-12-14 16:22:38 +00:00
radv_pipeline_cache.c radv: Replace pthread mutex with mtx_t 2020-12-02 11:27:01 +00:00
radv_private.h radv: track if VRS is enabled to apply a workaround on GFX10.3 2020-12-14 16:22:38 +00:00
radv_query.c radv: use intrinsic builders 2020-11-26 17:50:38 +00:00
radv_radeon_winsys.h radv: Dump BO VA ranges on hang. 2020-11-21 14:25:53 +00:00
radv_rgp.c radv: Use os_localtime instead of localtime_r 2020-12-02 11:27:01 +00:00
radv_shader.c radv: track if VRS is enabled to apply a workaround on GFX10.3 2020-12-14 16:22:38 +00:00
radv_shader.h radv: track if VRS is enabled to apply a workaround on GFX10.3 2020-12-14 16:22:38 +00:00
radv_shader_args.c ac: unify shader arguments that are duplicated 2020-12-09 20:13:25 +00:00
radv_shader_args.h util+treewide: container_of() cleanup 2020-12-10 16:48:36 +00:00
radv_shader_helper.h radv/gfx10: use the correct target machine for Wave32 2019-08-02 09:37:38 +02:00
radv_shader_info.c radv: implement VK_KHR_fragment_shading_rate 2020-12-14 16:22:38 +00:00
radv_sqtt.c ac,amd/llvm,radv: Initialize structs with {0} 2020-10-14 12:15:23 +00:00
radv_util.c radv: report errors back to the application via VK_EXT_debug_report 2020-08-10 14:09:21 +02:00
radv_util.h radv: Use proper header guards over 'pragma once' directives 2016-10-10 16:10:56 +11:00
radv_wsi.c vulkan/wsi: add sw support. (v2) 2020-08-17 14:30:50 +10:00
radv_wsi_display.c radv: Fix asserts using assign instead of compare. 2020-10-03 01:04:28 +00:00
radv_wsi_wayland.c radv/wsi: Don't include wayland headers 2017-03-13 11:16:30 +00:00
radv_wsi_x11.c vulkan: drop always-true param 2018-10-26 18:33:11 +01:00
si_cmd_buffer.c radv: implement VK_KHR_fragment_shading_rate 2020-12-14 16:22:38 +00:00
vk_format.h radv: Wrap pragmas with __GNUC__ to fix MSVC 2020-12-02 11:27:01 +00:00
vk_format_layout.csv radv: Implement VK_EXT_4444_formats 2020-08-03 19:27:37 +01:00
vk_format_parse.py radv: Add logic for multisample format descriptions. 2019-04-25 19:56:20 +00:00
vk_format_table.py util: rename PIPE_ARCH_*_ENDIAN to UTIL_ARCH_*_ENDIAN 2019-11-05 16:39:55 +00:00
vulkan.sym radv: restrict exported symbols with static llvm 2020-08-19 11:19:18 +00:00