radv: enable DCC stores with the LLVM backend
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 23 Apr 2021 13:06:27 +0000 (15:06 +0200)
committerMarge Bot <eric+marge@anholt.net>
Fri, 23 Apr 2021 16:01:22 +0000 (16:01 +0000)
Just to make it consistent compared to ACO.

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/10436>

src/amd/vulkan/radv_image.c

index ed375f6..3b67f7a 100644 (file)
@@ -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));
 }
 
 /*