[Vulkan] Remove required feature checks

Fallbacks for those will be added more or less soon, the stable version won't hard-require anything beyond 1.0 and the portability subset
This commit is contained in:
Triang3l 2022-07-03 20:54:34 +03:00
parent bbae909fd7
commit 83e9984539
1 changed files with 2 additions and 14 deletions

View File

@ -543,22 +543,10 @@ bool VulkanProvider::Initialize() {
++i) {
VkPhysicalDevice physical_device_current = physical_devices[i];
// Get physical device features and check if the needed ones are supported.
// Need this before obtaining the queues as sparse binding is an optional
// feature.
// Get physical device features. Need this before obtaining the queues as
// sparse binding is an optional feature.
ifn_.vkGetPhysicalDeviceFeatures(physical_device_current,
&device_features_);
// Passing indices directly from guest memory, where they are big-endian; a
// workaround using fetch from shared memory for 32-bit indices that need
// swapping isn't implemented yet. Not supported only Qualcomm Adreno 4xx.
if (!device_features_.fullDrawIndexUint32) {
continue;
}
// TODO(Triang3l): Make geometry shaders optional by providing compute
// shader fallback (though that would require vertex shader stores).
if (!device_features_.geometryShader) {
continue;
}
// Get the needed queues:
// - Graphics and compute.