| 3525 | } |
| 3526 | } |
| 3527 | void VulkanDeviceInfoExtensions::readPhysicalFeatures_MESA() { |
| 3528 | VkPhysicalDeviceFeatures2 deviceFeatures2{}; |
| 3529 | if (extensionSupported("VK_MESA_image_alignment_control")) { |
| 3530 | const char* extension("VK_MESA_image_alignment_control"); |
| 3531 | VkPhysicalDeviceImageAlignmentControlFeaturesMESA* extFeatures = new VkPhysicalDeviceImageAlignmentControlFeaturesMESA{}; |
| 3532 | extFeatures->sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ALIGNMENT_CONTROL_FEATURES_MESA; |
| 3533 | deviceFeatures2 = initDeviceFeatures2(extFeatures); |
| 3534 | vulkanContext.vkGetPhysicalDeviceFeatures2KHR(device, &deviceFeatures2); |
| 3535 | pushFeature2(extension, "imageAlignmentControl", extFeatures->imageAlignmentControl); |
| 3536 | delete extFeatures; |
| 3537 | } |
| 3538 | } |
| 3539 | void VulkanDeviceInfoExtensions::readPhysicalFeatures_NV() { |
| 3540 | VkPhysicalDeviceFeatures2 deviceFeatures2{}; |
| 3541 | if (extensionSupported("VK_NV_corner_sampled_image")) { |
nothing calls this directly
no outgoing calls
no test coverage detected