[vk] revert vk1.4 features from aa333e6fb1
Some checks failed
eden-license / license-header (pull_request) Failing after 16s
Some checks failed
eden-license / license-header (pull_request) Failing after 16s
Testing for SMO slowdowns.
This commit is contained in:
parent
0705ba0b47
commit
b17ccec1b3
1 changed files with 0 additions and 18 deletions
|
@ -971,11 +971,6 @@ bool Device::GetSuitability(bool requires_swapchain) {
|
||||||
// Assume we will be suitable.
|
// Assume we will be suitable.
|
||||||
bool suitable = true;
|
bool suitable = true;
|
||||||
|
|
||||||
// Configure properties.
|
|
||||||
VkPhysicalDeviceVulkan12Features features_1_2{};
|
|
||||||
VkPhysicalDeviceVulkan13Features features_1_3{};
|
|
||||||
VkPhysicalDeviceVulkan14Features features_1_4{};
|
|
||||||
|
|
||||||
// Configure properties.
|
// Configure properties.
|
||||||
properties.properties = physical.GetProperties();
|
properties.properties = physical.GetProperties();
|
||||||
|
|
||||||
|
@ -1049,19 +1044,6 @@ bool Device::GetSuitability(bool requires_swapchain) {
|
||||||
// Set next pointer.
|
// Set next pointer.
|
||||||
void** next = &features2.pNext;
|
void** next = &features2.pNext;
|
||||||
|
|
||||||
// Vulkan 1.2, 1.3 and 1.4 features
|
|
||||||
if (instance_version >= VK_API_VERSION_1_2) {
|
|
||||||
features_1_2.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_2_FEATURES;
|
|
||||||
features_1_3.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_3_FEATURES;
|
|
||||||
features_1_4.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_4_FEATURES;
|
|
||||||
|
|
||||||
features_1_2.pNext = &features_1_3;
|
|
||||||
features_1_3.pNext = &features_1_4;
|
|
||||||
|
|
||||||
*next = &features_1_2;
|
|
||||||
// next = &features_1_4.pNext;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Test all features we know about. If the feature is not available in core at our
|
// Test all features we know about. If the feature is not available in core at our
|
||||||
// current API version, and was not enabled by an extension, skip testing the feature.
|
// current API version, and was not enabled by an extension, skip testing the feature.
|
||||||
// We set the structure sType explicitly here as it is zeroed by the constructor.
|
// We set the structure sType explicitly here as it is zeroed by the constructor.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue