| 4076 | #endif |
| 4077 | } |
| 4078 | void VulkanDeviceInfoExtensions::readPhysicalFeatures_SEC() { |
| 4079 | VkPhysicalDeviceFeatures2 deviceFeatures2{}; |
| 4080 | if (extensionSupported("VK_SEC_amigo_profiling")) { |
| 4081 | const char* extension("VK_SEC_amigo_profiling"); |
| 4082 | VkPhysicalDeviceAmigoProfilingFeaturesSEC* extFeatures = new VkPhysicalDeviceAmigoProfilingFeaturesSEC{}; |
| 4083 | extFeatures->sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_AMIGO_PROFILING_FEATURES_SEC; |
| 4084 | deviceFeatures2 = initDeviceFeatures2(extFeatures); |
| 4085 | vulkanContext.vkGetPhysicalDeviceFeatures2KHR(device, &deviceFeatures2); |
| 4086 | pushFeature2(extension, "amigoProfiling", extFeatures->amigoProfiling); |
| 4087 | delete extFeatures; |
| 4088 | } |
| 4089 | if (extensionSupported("VK_SEC_pipeline_cache_incremental_mode")) { |
| 4090 | const char* extension("VK_SEC_pipeline_cache_incremental_mode"); |
| 4091 | VkPhysicalDevicePipelineCacheIncrementalModeFeaturesSEC* extFeatures = new VkPhysicalDevicePipelineCacheIncrementalModeFeaturesSEC{}; |
| 4092 | extFeatures->sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_CACHE_INCREMENTAL_MODE_FEATURES_SEC; |
| 4093 | deviceFeatures2 = initDeviceFeatures2(extFeatures); |
| 4094 | vulkanContext.vkGetPhysicalDeviceFeatures2KHR(device, &deviceFeatures2); |
| 4095 | pushFeature2(extension, "pipelineCacheIncrementalMode", extFeatures->pipelineCacheIncrementalMode); |
| 4096 | delete extFeatures; |
| 4097 | } |
| 4098 | } |
| 4099 | void VulkanDeviceInfoExtensions::readPhysicalFeatures_VALVE() { |
| 4100 | VkPhysicalDeviceFeatures2 deviceFeatures2{}; |
| 4101 | if (extensionSupported("VK_VALVE_mutable_descriptor_type")) { |
nothing calls this directly
no outgoing calls
no test coverage detected