1/* WARNING: This is auto-generated file. Do not modify, since changes will 2 * be lost! Modify the generating script instead. 3 */ 4 5VkResult PlatformDriver::createInstance (const VkInstanceCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkInstance* pInstance) const 6{ 7 return m_vk.createInstance(pCreateInfo, pAllocator, pInstance); 8} 9 10PFN_vkVoidFunction PlatformDriver::getInstanceProcAddr (VkInstance instance, const char* pName) const 11{ 12 return m_vk.getInstanceProcAddr(instance, pName); 13} 14 15VkResult PlatformDriver::enumerateInstanceExtensionProperties (const char* pLayerName, deUint32* pPropertyCount, VkExtensionProperties* pProperties) const 16{ 17 return m_vk.enumerateInstanceExtensionProperties(pLayerName, pPropertyCount, pProperties); 18} 19 20VkResult PlatformDriver::enumerateInstanceLayerProperties (deUint32* pPropertyCount, VkLayerProperties* pProperties) const 21{ 22 return m_vk.enumerateInstanceLayerProperties(pPropertyCount, pProperties); 23} 24 25VkResult PlatformDriver::enumerateInstanceVersion (deUint32* pApiVersion) const 26{ 27 if (m_vk.enumerateInstanceVersion) 28 return m_vk.enumerateInstanceVersion(pApiVersion); 29 30 *pApiVersion = VK_API_VERSION_1_0; 31 return VK_SUCCESS; 32} 33