radv: allow RADV_PERFTEST=dccmsaa on GFX9
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 14 Jun 2018 09:06:02 +0000 (11:06 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 15 Jun 2018 13:54:10 +0000 (15:54 +0200)
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_device.c

index 1ffbe75ef6bec78597db18fd089dc5fa91bde159..a537415812b3370087894eb71ecb0dc661d73ce3 100644 (file)
@@ -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);