Mesa (master): radv: enable DCC stores with the LLVM backend

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Apr 23 16:11:09 UTC 2021


Module: Mesa
Branch: master
Commit: fe989df347ccd2a668238214fa9fb36a8dcfd3bf
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fe989df347ccd2a668238214fa9fb36a8dcfd3bf

Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Fri Apr 23 15:06:27 2021 +0200

radv: enable DCC stores with the LLVM backend

Just to make it consistent compared to ACO.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10436>

---

 src/amd/vulkan/radv_image.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/amd/vulkan/radv_image.c b/src/amd/vulkan/radv_image.c
index ed375f62ce9..3b67f7a75f3 100644
--- a/src/amd/vulkan/radv_image.c
+++ b/src/amd/vulkan/radv_image.c
@@ -283,8 +283,7 @@ radv_image_use_dcc_image_stores(const struct radv_device *device, const struct r
     */
    return device->physical_device->rad_info.chip_class == GFX10 ||
           (device->physical_device->rad_info.chip_class == GFX10_3 &&
-           (device->instance->perftest_flags & RADV_PERFTEST_DCC_STORES) &&
-           !device->physical_device->use_llvm);
+           (device->instance->perftest_flags & RADV_PERFTEST_DCC_STORES));
 }
 
 /*



More information about the mesa-commit mailing list