| 1247 | } |
| 1248 | } |
| 1249 | void 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) |
| 1259 | void vk_QueueSubmit(CPU* cpu) { |
| 1260 | VkQueue queue = (VkQueue)getVulkanPtr(cpu->memory, ARG1); |
nothing calls this directly
no test coverage detected