From d4db68b338a9c6b009fa9d9fa05e13ce0215861b Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Tue, 6 Apr 2021 08:50:34 +0200 Subject: radv: enable DCC stores with MSAA 4x/8x on GFX10+ Should work now. Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen Part-of: --- src/amd/vulkan/radv_image.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/amd/vulkan/radv_image.c b/src/amd/vulkan/radv_image.c index 44963dd308b..b8d0590a80f 100644 --- a/src/amd/vulkan/radv_image.c +++ b/src/amd/vulkan/radv_image.c @@ -291,14 +291,11 @@ bool radv_image_use_dcc_image_stores(const struct radv_device *device, * TODO: Enable on more HW. DIMGREY and VANGOGH need a workaround and * we need more perf analysis. * https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6796#note_643853 - * - * DCC with MSAA > 2 samples results in CTS failures (some of dEQP-VK.pipeline.multisample.storage_image.*). */ - return (device->physical_device->rad_info.chip_class == GFX10 || + 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)) && - image->info.samples <= 2; + !device->physical_device->use_llvm); } /* -- cgit v1.2.3