Atlas - SDL_gpu_vulkan_vkfuncs.h

Home / ext / SDL / src / gpu / vulkan Lines: 1 | Size: 7027 bytes [Download] [Show on GitHub] [Search similar files] [Raw] [Raw (proxy)]
[FILE BEGIN]
1/* 2 Simple DirectMedia Layer 3 Copyright (C) 1997-2025 Sam Lantinga <[email protected]> 4 5 This software is provided 'as-is', without any express or implied 6 warranty. In no event will the authors be held liable for any damages 7 arising from the use of this software. 8 9 Permission is granted to anyone to use this software for any purpose, 10 including commercial applications, and to alter it and redistribute it 11 freely, subject to the following restrictions: 12 13 1. The origin of this software must not be misrepresented; you must not 14 claim that you wrote the original software. If you use this software 15 in a product, an acknowledgment in the product documentation would be 16 appreciated but is not required. 17 2. Altered source versions must be plainly marked as such, and must not be 18 misrepresented as being the original software. 19 3. This notice may not be removed or altered from any source distribution. 20*/ 21 22/* 23 * Global functions from the Vulkan Loader 24 */ 25 26#ifndef VULKAN_GLOBAL_FUNCTION 27#define VULKAN_GLOBAL_FUNCTION(name) 28#endif 29VULKAN_GLOBAL_FUNCTION(vkCreateInstance) 30VULKAN_GLOBAL_FUNCTION(vkEnumerateInstanceExtensionProperties) 31VULKAN_GLOBAL_FUNCTION(vkEnumerateInstanceLayerProperties) 32 33/* 34 * vkInstance, created by global vkCreateInstance function 35 */ 36 37#ifndef VULKAN_INSTANCE_FUNCTION 38#define VULKAN_INSTANCE_FUNCTION(name) 39#endif 40 41// Vulkan 1.0 42VULKAN_INSTANCE_FUNCTION(vkGetDeviceProcAddr) 43VULKAN_INSTANCE_FUNCTION(vkCreateDevice) 44VULKAN_INSTANCE_FUNCTION(vkDestroyInstance) 45VULKAN_INSTANCE_FUNCTION(vkEnumerateDeviceExtensionProperties) 46VULKAN_INSTANCE_FUNCTION(vkEnumeratePhysicalDevices) 47VULKAN_INSTANCE_FUNCTION(vkGetPhysicalDeviceFeatures) 48VULKAN_INSTANCE_FUNCTION(vkGetPhysicalDeviceQueueFamilyProperties) 49VULKAN_INSTANCE_FUNCTION(vkGetPhysicalDeviceFormatProperties) 50VULKAN_INSTANCE_FUNCTION(vkGetPhysicalDeviceImageFormatProperties) 51VULKAN_INSTANCE_FUNCTION(vkGetPhysicalDeviceMemoryProperties) 52VULKAN_INSTANCE_FUNCTION(vkGetPhysicalDeviceProperties) 53 54// Vulkan 1.1 (Needed for opt-in feature checks) 55VULKAN_INSTANCE_FUNCTION(vkGetPhysicalDeviceFeatures2) 56 57// VK_KHR_get_physical_device_properties2, needed for KHR_driver_properties 58VULKAN_INSTANCE_FUNCTION(vkGetPhysicalDeviceProperties2KHR) 59 60// VK_KHR_surface 61VULKAN_INSTANCE_FUNCTION(vkDestroySurfaceKHR) 62VULKAN_INSTANCE_FUNCTION(vkGetPhysicalDeviceSurfaceCapabilitiesKHR) 63VULKAN_INSTANCE_FUNCTION(vkGetPhysicalDeviceSurfaceFormatsKHR) 64VULKAN_INSTANCE_FUNCTION(vkGetPhysicalDeviceSurfacePresentModesKHR) 65VULKAN_INSTANCE_FUNCTION(vkGetPhysicalDeviceSurfaceSupportKHR) 66 67// VK_EXT_debug_utils 68VULKAN_INSTANCE_FUNCTION(vkCmdBeginDebugUtilsLabelEXT) 69VULKAN_INSTANCE_FUNCTION(vkSetDebugUtilsObjectNameEXT) 70VULKAN_INSTANCE_FUNCTION(vkCmdEndDebugUtilsLabelEXT) 71VULKAN_INSTANCE_FUNCTION(vkCmdInsertDebugUtilsLabelEXT) 72 73/* 74 * vkDevice, created by a vkInstance 75 */ 76 77#ifndef VULKAN_DEVICE_FUNCTION 78#define VULKAN_DEVICE_FUNCTION(name) 79#endif 80 81// Vulkan 1.0 82VULKAN_DEVICE_FUNCTION(vkAllocateCommandBuffers) 83VULKAN_DEVICE_FUNCTION(vkAllocateDescriptorSets) 84VULKAN_DEVICE_FUNCTION(vkAllocateMemory) 85VULKAN_DEVICE_FUNCTION(vkBeginCommandBuffer) 86VULKAN_DEVICE_FUNCTION(vkBindBufferMemory) 87VULKAN_DEVICE_FUNCTION(vkBindImageMemory) 88VULKAN_DEVICE_FUNCTION(vkCmdBeginRenderPass) 89VULKAN_DEVICE_FUNCTION(vkCmdBindDescriptorSets) 90VULKAN_DEVICE_FUNCTION(vkCmdBindIndexBuffer) 91VULKAN_DEVICE_FUNCTION(vkCmdBindPipeline) 92VULKAN_DEVICE_FUNCTION(vkCmdBindVertexBuffers) 93VULKAN_DEVICE_FUNCTION(vkCmdBlitImage) 94VULKAN_DEVICE_FUNCTION(vkCmdClearAttachments) 95VULKAN_DEVICE_FUNCTION(vkCmdClearColorImage) 96VULKAN_DEVICE_FUNCTION(vkCmdClearDepthStencilImage) 97VULKAN_DEVICE_FUNCTION(vkCmdCopyBuffer) 98VULKAN_DEVICE_FUNCTION(vkCmdCopyImage) 99VULKAN_DEVICE_FUNCTION(vkCmdCopyBufferToImage) 100VULKAN_DEVICE_FUNCTION(vkCmdCopyImageToBuffer) 101VULKAN_DEVICE_FUNCTION(vkCmdDispatch) 102VULKAN_DEVICE_FUNCTION(vkCmdDispatchIndirect) 103VULKAN_DEVICE_FUNCTION(vkCmdDraw) 104VULKAN_DEVICE_FUNCTION(vkCmdDrawIndexed) 105VULKAN_DEVICE_FUNCTION(vkCmdDrawIndexedIndirect) 106VULKAN_DEVICE_FUNCTION(vkCmdDrawIndirect) 107VULKAN_DEVICE_FUNCTION(vkCmdEndRenderPass) 108VULKAN_DEVICE_FUNCTION(vkCmdPipelineBarrier) 109VULKAN_DEVICE_FUNCTION(vkCmdResolveImage) 110VULKAN_DEVICE_FUNCTION(vkCmdSetBlendConstants) 111VULKAN_DEVICE_FUNCTION(vkCmdSetDepthBias) 112VULKAN_DEVICE_FUNCTION(vkCmdSetScissor) 113VULKAN_DEVICE_FUNCTION(vkCmdSetStencilReference) 114VULKAN_DEVICE_FUNCTION(vkCmdSetViewport) 115VULKAN_DEVICE_FUNCTION(vkCreateBuffer) 116VULKAN_DEVICE_FUNCTION(vkCreateCommandPool) 117VULKAN_DEVICE_FUNCTION(vkCreateDescriptorPool) 118VULKAN_DEVICE_FUNCTION(vkCreateDescriptorSetLayout) 119VULKAN_DEVICE_FUNCTION(vkCreateFence) 120VULKAN_DEVICE_FUNCTION(vkCreateFramebuffer) 121VULKAN_DEVICE_FUNCTION(vkCreateComputePipelines) 122VULKAN_DEVICE_FUNCTION(vkCreateGraphicsPipelines) 123VULKAN_DEVICE_FUNCTION(vkCreateImage) 124VULKAN_DEVICE_FUNCTION(vkCreateImageView) 125VULKAN_DEVICE_FUNCTION(vkCreatePipelineCache) 126VULKAN_DEVICE_FUNCTION(vkCreatePipelineLayout) 127VULKAN_DEVICE_FUNCTION(vkCreateRenderPass) 128VULKAN_DEVICE_FUNCTION(vkCreateSampler) 129VULKAN_DEVICE_FUNCTION(vkCreateSemaphore) 130VULKAN_DEVICE_FUNCTION(vkCreateShaderModule) 131VULKAN_DEVICE_FUNCTION(vkDestroyBuffer) 132VULKAN_DEVICE_FUNCTION(vkDestroyCommandPool) 133VULKAN_DEVICE_FUNCTION(vkDestroyDescriptorPool) 134VULKAN_DEVICE_FUNCTION(vkDestroyDescriptorSetLayout) 135VULKAN_DEVICE_FUNCTION(vkDestroyDevice) 136VULKAN_DEVICE_FUNCTION(vkDestroyFence) 137VULKAN_DEVICE_FUNCTION(vkDestroyFramebuffer) 138VULKAN_DEVICE_FUNCTION(vkDestroyImage) 139VULKAN_DEVICE_FUNCTION(vkDestroyImageView) 140VULKAN_DEVICE_FUNCTION(vkDestroyPipeline) 141VULKAN_DEVICE_FUNCTION(vkDestroyPipelineCache) 142VULKAN_DEVICE_FUNCTION(vkDestroyPipelineLayout) 143VULKAN_DEVICE_FUNCTION(vkDestroyRenderPass) 144VULKAN_DEVICE_FUNCTION(vkDestroySampler) 145VULKAN_DEVICE_FUNCTION(vkDestroySemaphore) 146VULKAN_DEVICE_FUNCTION(vkDestroyShaderModule) 147VULKAN_DEVICE_FUNCTION(vkDeviceWaitIdle) 148VULKAN_DEVICE_FUNCTION(vkEndCommandBuffer) 149VULKAN_DEVICE_FUNCTION(vkFreeCommandBuffers) 150VULKAN_DEVICE_FUNCTION(vkFreeMemory) 151VULKAN_DEVICE_FUNCTION(vkGetDeviceQueue) 152VULKAN_DEVICE_FUNCTION(vkGetPipelineCacheData) 153VULKAN_DEVICE_FUNCTION(vkGetFenceStatus) 154VULKAN_DEVICE_FUNCTION(vkGetBufferMemoryRequirements) 155VULKAN_DEVICE_FUNCTION(vkGetImageMemoryRequirements) 156VULKAN_DEVICE_FUNCTION(vkMapMemory) 157VULKAN_DEVICE_FUNCTION(vkQueueSubmit) 158VULKAN_DEVICE_FUNCTION(vkQueueWaitIdle) 159VULKAN_DEVICE_FUNCTION(vkResetCommandBuffer) 160VULKAN_DEVICE_FUNCTION(vkResetCommandPool) 161VULKAN_DEVICE_FUNCTION(vkResetDescriptorPool) 162VULKAN_DEVICE_FUNCTION(vkResetFences) 163VULKAN_DEVICE_FUNCTION(vkUnmapMemory) 164VULKAN_DEVICE_FUNCTION(vkUpdateDescriptorSets) 165VULKAN_DEVICE_FUNCTION(vkWaitForFences) 166 167// VK_KHR_swapchain 168VULKAN_DEVICE_FUNCTION(vkAcquireNextImageKHR) 169VULKAN_DEVICE_FUNCTION(vkCreateSwapchainKHR) 170VULKAN_DEVICE_FUNCTION(vkDestroySwapchainKHR) 171VULKAN_DEVICE_FUNCTION(vkQueuePresentKHR) 172VULKAN_DEVICE_FUNCTION(vkGetSwapchainImagesKHR) 173 174/* 175 * Redefine these every time you include this header! 176 */ 177#undef VULKAN_GLOBAL_FUNCTION 178#undef VULKAN_INSTANCE_FUNCTION 179#undef VULKAN_DEVICE_FUNCTION 180
[FILE END]
(C) 2025 0x4248 (C) 2025 4248 Media and 4248 Systems, All part of 0x4248 See LICENCE files for more information. Not all files are by 0x4248 always check Licencing.