mesa/src/amd
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
..
addrlib amd/addrlib: Initialize Lib members in constructors. 2020-12-03 23:02:17 +00:00
common amd: Fix leak in ac_surface_modifier_test. 2020-12-15 19:39:29 +00:00
compiler aco/ra: fix phi operand renaming 2020-12-17 15:00:59 +00:00
llvm radv/llvm: implement a workaround for gl_FragCoord.z with VRS on GFX10.3 2020-12-14 16:22:38 +00:00
registers amd/registers: add missing VRS registers 2020-12-14 16:22:38 +00:00
vulkan radv: add missing DB flush after depth/stencil resolve operations 2020-12-17 15:19:57 +00:00
Android.addrlib.mk android: amd/addrlib: add gfx10 support 2019-07-10 09:03:55 +02:00
Android.common.mk android: amd/registers: switch to new generated register definitions 2020-09-06 20:20:34 +02:00
Android.compiler.mk android: aco/isel: Move context initialization code to a dedicated file 2020-09-14 21:26:53 +02:00
Android.mk android: aco: add support for libmesa_aco 2019-09-28 15:56:34 +02:00
Makefile.sources android: aco: add aco_form_hard_clauses.cpp to Makefile.sources 2020-10-30 13:34:06 +00:00
meson.build aco: add framework for unit testing 2020-07-30 16:13:08 +00:00