mesa/src/amd
Samuel Pitoiset 7a5e6fd25f radv: add support for MRTs compaction to avoid holes
SPI_SHADER_COL_FORMAT allocates export memory and CB_SHADER_MASK
map them to higher MRTs if necessary. The hardware allows to remap
MRTs to avoid holes somehow.

For example, if we have a scenario where MRT0 is unused and only
MRT1 and MRT2 are used, SPI_SHADER_COL_FORMAT is 0x77 and
CB_SHADER_MASK/CB_TARGET_MASK are 0x770 (this assumes
SPI_SHADER_UINT16_ABGR is set).

This allows us to remove one workaround that was added for fixing
GPU hangs with DXVK. I think this is because SPI_SHADER_COL_FORMAT
expects contiguous MRTs to be allocated.

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/5434>
2020-06-29 08:43:14 +00:00
..
addrlib amd/addrlib: fix the C++ one definition rule violation 2020-06-11 05:11:50 -04:00
common ac,winsys/amdgpu: align IBs the same as the kernel 2020-06-26 07:02:57 +00:00
compiler radv: add support for MRTs compaction to avoid holes 2020-06-29 08:43:14 +00:00
llvm radv: remove the load/store workaround for Monster Hunter World with LLVM 2020-06-26 14:42:44 +02:00
registers radeonsi: implement R9G9B9E5 render target and image store support on gfx10.3 2020-06-09 16:17:36 +00:00
vulkan radv: add support for MRTs compaction to avoid holes 2020-06-29 08:43:14 +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 android: aco: add aco_ir.cpp to Makefile.sources 2020-06-11 20:00:16 +02:00
meson.build amd: Move all amd/common code that depends on LLVM to amd/llvm. 2019-10-08 00:44:08 +00:00