MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-Tools / GetDeviceQueue

Function GetDeviceQueue

icd/generated/function_definitions.h:276–286  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

274 return VK_SUCCESS;
275}
276static 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}
287static VKAPI_ATTR VkResult VKAPI_CALL QueueSubmit(VkQueue queue, uint32_t submitCount, const VkSubmitInfo* pSubmits,
288 VkFence fence) {
289 // Special way to cause DEVICE_LOST

Callers 1

GetDeviceQueue2Function · 0.85

Calls 1

CreateDispObjHandleFunction · 0.85

Tested by

no test coverage detected