MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / vk_GetDeviceQueue

Function vk_GetDeviceQueue

source/vulkan/vk_host.cpp:1249–1257  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1247 }
1248}
1249void vk_GetDeviceQueue(CPU* cpu) {
1250 VkDevice device = (VkDevice)getVulkanPtr(cpu->memory, ARG1);
1251 BoxedVulkanInfo* pBoxedInfo = getInfoFromHandle(cpu->memory, ARG1);
1252 uint32_t queueFamilyIndex = (uint32_t)ARG2;
1253 uint32_t queueIndex = (uint32_t)ARG3;
1254 VkQueue pQueue = (VkQueue)getVulkanPtr(cpu->memory, ARG4);
1255 pBoxedInfo->pvkGetDeviceQueue(device, queueFamilyIndex, queueIndex, &pQueue);
1256 cpu->memory->writed(ARG4, createVulkanPtr(cpu->memory, pQueue, pBoxedInfo));
1257}
1258// return type: VkResult(4 bytes)
1259void vk_QueueSubmit(CPU* cpu) {
1260 VkQueue queue = (VkQueue)getVulkanPtr(cpu->memory, ARG1);

Callers

nothing calls this directly

Calls 4

getVulkanPtrFunction · 0.85
getInfoFromHandleFunction · 0.85
createVulkanPtrFunction · 0.85
writedMethod · 0.45

Tested by

no test coverage detected