screen->driver_workarounds.disable_optimized_compile = true;
break;
}
+
+ switch (screen->info.driver_props.driverID) {
+ case VK_DRIVER_ID_MESA_RADV:
+ case VK_DRIVER_ID_AMD_OPEN_SOURCE:
+ case VK_DRIVER_ID_AMD_PROPRIETARY:
+ /* this has bad perf on AMD */
+ screen->info.have_KHR_push_descriptor = false;
+ break;
+ default:
+ break;
+ }
+
if (!screen->resizable_bar)
screen->info.have_EXT_host_image_copy = false;
}
screen->dev);
init_queue(screen);
- if (screen->info.driver_props.driverID == VK_DRIVER_ID_MESA_RADV ||
- screen->info.driver_props.driverID == VK_DRIVER_ID_AMD_OPEN_SOURCE ||
- screen->info.driver_props.driverID == VK_DRIVER_ID_AMD_PROPRIETARY)
- /* this has bad perf on AMD */
- screen->info.have_KHR_push_descriptor = false;
zink_verify_device_extensions(screen);