[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:
parent
bbae909fd7
commit
83e9984539
|
@ -543,22 +543,10 @@ bool VulkanProvider::Initialize() {
|
||||||
++i) {
|
++i) {
|
||||||
VkPhysicalDevice physical_device_current = physical_devices[i];
|
VkPhysicalDevice physical_device_current = physical_devices[i];
|
||||||
|
|
||||||
// Get physical device features and check if the needed ones are supported.
|
// Get physical device features. Need this before obtaining the queues as
|
||||||
// Need this before obtaining the queues as sparse binding is an optional
|
// sparse binding is an optional feature.
|
||||||
// feature.
|
|
||||||
ifn_.vkGetPhysicalDeviceFeatures(physical_device_current,
|
ifn_.vkGetPhysicalDeviceFeatures(physical_device_current,
|
||||||
&device_features_);
|
&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:
|
// Get the needed queues:
|
||||||
// - Graphics and compute.
|
// - Graphics and compute.
|
||||||
|
|
Loading…
Reference in New Issue