MCPcopy Create free account
hub / github.com/RavEngine/RavEngine / getQueues

Function getQueues

deps/SDL2/test/testvulkan.c:549–562  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

547#undef VULKAN_FUNCTIONS
548
549static void getQueues(void)
550{
551 vkGetDeviceQueue(vulkanContext.device,
552 vulkanContext.graphicsQueueFamilyIndex,
553 0,
554 &vulkanContext.graphicsQueue);
555 if(vulkanContext.graphicsQueueFamilyIndex != vulkanContext.presentQueueFamilyIndex)
556 vkGetDeviceQueue(vulkanContext.device,
557 vulkanContext.presentQueueFamilyIndex,
558 0,
559 &vulkanContext.presentQueue);
560 else
561 vulkanContext.presentQueue = vulkanContext.graphicsQueue;
562}
563
564static void createSemaphore(VkSemaphore *semaphore)
565{

Callers 1

initVulkanFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected