Lines Matching refs:device
32 VKAPI_ATTR VkResult checkedCreateSwapchainKHR(VkDevice device, const VkSwapchainCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSwapchainKHR* pSwapchain) {
33 if (GetData(device).hook_extensions[ProcHook::KHR_swapchain]) {
34 return CreateSwapchainKHR(device, pCreateInfo, pAllocator, pSwapchain);
36 Logger(device).Err(device, "VK_KHR_swapchain not enabled. vkCreateSwapchainKHR not executed.");
41 VKAPI_ATTR void checkedDestroySwapchainKHR(VkDevice device, VkSwapchainKHR swapchain, const VkAllocationCallbacks* pAllocator) {
42 if (GetData(device).hook_extensions[ProcHook::KHR_swapchain]) {
43 DestroySwapchainKHR(device, swapchain, pAllocator);
45 Logger(device).Err(device, "VK_KHR_swapchain not enabled. vkDestroySwapchainKHR not executed.");
49 VKAPI_ATTR VkResult checkedGetSwapchainImagesKHR(VkDevice device, VkSwapchainKHR swapchain, uint32_t* pSwapchainImageCount, VkImage* pSwapchainImages) {
50 if (GetData(device).hook_extensions[ProcHook::KHR_swapchain]) {
51 return GetSwapchainImagesKHR(device, swapchain, pSwapchainImageCount, pSwapchainImages);
53 Logger(device).Err(device, "VK_KHR_swapchain not enabled. vkGetSwapchainImagesKHR not executed.");
58 VKAPI_ATTR VkResult checkedAcquireNextImageKHR(VkDevice device, VkSwapchainKHR swapchain, uint64_t timeout, VkSemaphore semaphore, VkFence fence, uint32_t* pImageIndex) {
59 if (GetData(device).hook_extensions[ProcHook::KHR_swapchain]) {
60 return AcquireNextImageKHR(device, swapchain, timeout, semaphore, fence, pImageIndex);
62 Logger(device).Err(device, "VK_KHR_swapchain not enabled. vkAcquireNextImageKHR not executed.");
82 ProcHook::DEVICE,
89 ProcHook::DEVICE,
96 ProcHook::DEVICE,
131 ProcHook::DEVICE,
152 ProcHook::DEVICE,
173 ProcHook::DEVICE,
201 ProcHook::DEVICE,
208 ProcHook::DEVICE,
250 ProcHook::DEVICE,
257 ProcHook::DEVICE,
264 ProcHook::DEVICE,
271 ProcHook::DEVICE,