| 184 | return GetInstanceProcAddr(nullptr, pName); |
| 185 | } |
| 186 | static VKAPI_ATTR VkResult VKAPI_CALL CreateDevice(VkPhysicalDevice physicalDevice, const VkDeviceCreateInfo* pCreateInfo, |
| 187 | const VkAllocationCallbacks* pAllocator, VkDevice* pDevice) { |
| 188 | *pDevice = (VkDevice)CreateDispObjHandle(); |
| 189 | // TODO: If emulating specific device caps, will need to add intelligence here |
| 190 | return VK_SUCCESS; |
| 191 | } |
| 192 | static VKAPI_ATTR void VKAPI_CALL DestroyDevice(VkDevice device, const VkAllocationCallbacks* pAllocator) { |
| 193 | unique_lock_t lock(global_lock); |
| 194 | // First destroy sub-device objects |
nothing calls this directly
no test coverage detected