mesa/src/amd
Samuel Pitoiset 1e9c422894 radv: do not use CP predication for DCC decompressions
This fixes a regression with some Unity demos. Not sure
what the root cause of the problem is, especially because
the driver doesn't perform any fast color clears. So, it
shouldn't be needed to decompress DCC. RadeonSI says that
the decompression is relatively cheap if the surface has
been decompressed already.

One possible improvement is to two use predicates, one for
DCC and one for FCE that could be cleared when DCC, FMASK
or CMASK are performed by the driver. That might skip some
unnecessary decompression passes (not DCC though).

Fixes: ff7daadca1 ("radv: enable/disable predication for the DCC decompression pass")
CC: 18.2 <mesa-stable@lists.freedesktop.org>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107563
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
(cherry picked from commit 0aacb5eab6)
2018-08-20 13:33:07 +03:00
..
addrlib radeonsi: add support for Vega20 2018-07-12 16:48:12 -04:00
common radv: disable the auto-waitcnt-before-barrier LLVM option 2018-08-16 02:07:15 +03:00
vulkan radv: do not use CP predication for DCC decompressions 2018-08-20 13:33:07 +03:00
Android.addrlib.mk amd: remove always-true BRAHMA_BUILD define 2017-12-01 13:49:42 +00:00
Android.common.mk Android: fix undeclared identifier 'gfx9d_reg_table' 2017-09-11 09:35:23 -05:00
Android.mk android: radv: build vulkan.radv conditionally to radeonsi 2018-08-06 15:44:06 +03:00
Makefile.addrlib.am amd/addrlib: Use defines in autotools build. 2018-05-20 11:57:59 +02:00
Makefile.am autotools: include meson build files in tarball 2018-01-19 16:30:51 -08:00
Makefile.common.am ac/common: always build NIR translation 2017-07-31 17:59:10 +02:00
Makefile.sources ac/nir: Use lower_vote_eq_to_ballot instead of ac_nir_lower_subgroups 2018-03-13 13:25:27 -07:00
meson.build meson: build "radv" vulkan driver for radeon hardware 2017-09-27 09:12:34 -07:00