radv: fix DCC fast clear code for intensity formats (correctly)
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 16 Oct 2019 20:51:08 +0000 (22:51 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 17 Oct 2019 13:29:43 +0000 (15:29 +0200)
commitc644644c651b5e852a2d7da3a89fbef1fa09669b
tree84b584f8146c52a4e055787464b9737df227ccd4
parent82f18b713aceecf5ebf73d68e0cdd61be8aa2c59
radv: fix DCC fast clear code for intensity formats (correctly)

Previous fix was pretty bogus.

This fixes a rendering regression with Nier (minimap too large).

Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/1943
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/1952
Fixes: ea92273cea8 ("radv: fix DCC fast clear code for intensity formats")
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_meta_clear.c