mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-12-05 00:05:25 +08:00
radv: enable DCC stores with MSAA 4x/8x on GFX10+
Should work now. 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/10052>
This commit is contained in:
parent
1286e73c2c
commit
d4db68b338
@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user