| 274 | return VK_SUCCESS; |
| 275 | } |
| 276 | static VKAPI_ATTR void VKAPI_CALL GetDeviceQueue(VkDevice device, uint32_t queueFamilyIndex, uint32_t queueIndex, VkQueue* pQueue) { |
| 277 | unique_lock_t lock(global_lock); |
| 278 | auto queue = queue_map[device][queueFamilyIndex][queueIndex]; |
| 279 | if (queue) { |
| 280 | *pQueue = queue; |
| 281 | } else { |
| 282 | *pQueue = queue_map[device][queueFamilyIndex][queueIndex] = (VkQueue)CreateDispObjHandle(); |
| 283 | } |
| 284 | // TODO: If emulating specific device caps, will need to add intelligence here |
| 285 | return; |
| 286 | } |
| 287 | static VKAPI_ATTR VkResult VKAPI_CALL QueueSubmit(VkQueue queue, uint32_t submitCount, const VkSubmitInfo* pSubmits, |
| 288 | VkFence fence) { |
| 289 | // Special way to cause DEVICE_LOST |
no test coverage detected