MCPcopy Create free account
hub / github.com/SaschaWillems/VulkanCapsViewer / readPhysicalFeatures_INTEL

Method readPhysicalFeatures_INTEL

vulkanDeviceInfoExtensions.cpp:2794–2805  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2792 }
2793}
2794void VulkanDeviceInfoExtensions::readPhysicalFeatures_INTEL() {
2795 VkPhysicalDeviceFeatures2 deviceFeatures2{};
2796 if (extensionSupported("VK_INTEL_shader_integer_functions2")) {
2797 const char* extension("VK_INTEL_shader_integer_functions2");
2798 VkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL* extFeatures = new VkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL{};
2799 extFeatures->sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_INTEGER_FUNCTIONS_2_FEATURES_INTEL;
2800 deviceFeatures2 = initDeviceFeatures2(extFeatures);
2801 vulkanContext.vkGetPhysicalDeviceFeatures2KHR(device, &deviceFeatures2);
2802 pushFeature2(extension, "shaderIntegerFunctions2", extFeatures->shaderIntegerFunctions2);
2803 delete extFeatures;
2804 }
2805}
2806void VulkanDeviceInfoExtensions::readPhysicalFeatures_KHR() {
2807 VkPhysicalDeviceFeatures2 deviceFeatures2{};
2808 if (extensionSupported("VK_KHR_dynamic_rendering")) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected