| 73 | } |
| 74 | |
| 75 | bool VulkanDeviceInfo::vulkanVersionSupported(uint32_t major, uint32_t minor) |
| 76 | { |
| 77 | uint32_t deviceMajor = VK_API_VERSION_MAJOR(props.apiVersion); |
| 78 | uint32_t deviceMinor = VK_API_VERSION_MINOR(props.apiVersion); |
| 79 | return ((deviceMajor > major) || ((deviceMajor == major) && (deviceMinor >= minor))); |
| 80 | } |
| 81 | |
| 82 | bool VulkanDeviceInfo::extensionSupported(const char* extensionName) |
| 83 | { |
nothing calls this directly
no outgoing calls
no test coverage detected