From 3befac52dbb23bbc982a265476f05bafcf9ddc9b Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Thu, 14 Jun 2018 11:06:02 +0200 Subject: [PATCH] radv: allow RADV_PERFTEST=dccmsaa on GFX9 Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen --- src/amd/vulkan/radv_device.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 1ffbe75..a537415 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -329,8 +329,8 @@ radv_physical_device_init(struct radv_physical_device *device, device->out_of_order_rast_allowed = device->has_out_of_order_rast && !(device->instance->debug_flags & RADV_DEBUG_NO_OUT_OF_ORDER); - device->dcc_msaa_allowed = device->rad_info.chip_class == VI && - (device->instance->perftest_flags & RADV_PERFTEST_DCC_MSAA); + device->dcc_msaa_allowed = + (device->instance->perftest_flags & RADV_PERFTEST_DCC_MSAA); radv_physical_device_init_mem_types(device); radv_fill_device_extension_table(device, &device->supported_extensions); -- 2.7.4