mesa/src/amd
Bas Nieuwenhuizen e362ccb20c radv: Do not consider layouts fast-clearable on compute queue.
We cannot decompress from the compute queue. While I'm pretty sure
VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL is only useful on the
graphics queue, I cannot find a VU that prevents the transition
from happening on another queue, so we need to be careful here.

This patch ensures we do the decompression on the barrier that changes
the queue ownership.

Another problem was that DCC images were considered fast-clearable
when not DCC compressed, which resulted in a mess with concurrent
queue ownership.

Cc: <mesa-stable@lists.freedesktop.org>
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3387
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6252>
2020-08-10 16:24:38 +00:00
..
addrlib amd: add support for Navy Flounder 2020-07-28 19:47:10 +00:00
common ac/gpu_info: set num_tiles_pipes on gfx10+ too 2020-08-07 11:22:21 -04:00
compiler aco: fix C++11/C++14 compilation 2020-08-06 23:51:14 +01:00
llvm amd/llvm: Reorder LLVM headers 2020-08-05 17:15:18 +00:00
registers ac: add tables for CP register shadowing 2020-07-22 12:08:19 -04:00
vulkan radv: Do not consider layouts fast-clearable on compute queue. 2020-08-10 16:24:38 +00:00
Android.addrlib.mk android: amd/addrlib: add gfx10 support 2019-07-10 09:03:55 +02:00
Android.common.mk radeonsi: Define gfx10_format in the common header. 2020-06-03 00:17:00 +00:00
Android.compiler.mk android: aco: fix PIPE_FORMAT related building errors 2020-03-04 22:25:36 +01:00
Android.mk android: aco: add support for libmesa_aco 2019-09-28 15:56:34 +02:00
Makefile.sources ac: add tables for CP register shadowing 2020-07-22 12:08:19 -04:00
meson.build aco: add framework for unit testing 2020-07-30 16:13:08 +00:00