ListOfVulkanFunctions.inl 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. // todo(kazuki):: fix workaround
  2. #pragma clang diagnostic push
  3. #pragma clang diagnostic ignored "-Wunused-variable"
  4. #ifndef EXPORTED_VULKAN_FUNCTION
  5. #define EXPORTED_VULKAN_FUNCTION(function)
  6. #endif
  7. EXPORTED_VULKAN_FUNCTION(vkGetInstanceProcAddr)
  8. #undef EXPORTED_VULKAN_FUNCTION
  9. #ifndef GLOBAL_VULKAN_FUNCTION
  10. #define GLOBAL_VULKAN_FUNCTION(func)
  11. #endif
  12. GLOBAL_VULKAN_FUNCTION(vkCreateInstance)
  13. #undef GLOBAL_VULKAN_FUNCTION
  14. #ifndef INSTANCE_VULKAN_FUNCTION
  15. #define INSTANCE_VULKAN_FUNCTION(func)
  16. #endif
  17. INSTANCE_VULKAN_FUNCTION(vkEnumeratePhysicalDevices)
  18. INSTANCE_VULKAN_FUNCTION(vkEnumerateDeviceExtensionProperties)
  19. INSTANCE_VULKAN_FUNCTION(vkGetPhysicalDeviceQueueFamilyProperties)
  20. INSTANCE_VULKAN_FUNCTION(vkGetPhysicalDeviceMemoryProperties)
  21. INSTANCE_VULKAN_FUNCTION(vkGetPhysicalDeviceFormatProperties)
  22. INSTANCE_VULKAN_FUNCTION(vkCreateDevice)
  23. INSTANCE_VULKAN_FUNCTION(vkGetDeviceProcAddr)
  24. INSTANCE_VULKAN_FUNCTION(vkDestroyInstance)
  25. #undef INSTANCE_VULKAN_FUNCTION
  26. #ifndef DEVICE_VULKAN_FUNCTION
  27. #define DEVICE_VULKAN_FUNCTION(function)
  28. #endif
  29. DEVICE_VULKAN_FUNCTION(vkDestroyDevice)
  30. DEVICE_VULKAN_FUNCTION(vkCreateImage)
  31. DEVICE_VULKAN_FUNCTION(vkCmdBeginRenderPass)
  32. DEVICE_VULKAN_FUNCTION(vkCreateBuffer)
  33. DEVICE_VULKAN_FUNCTION(vkGetBufferMemoryRequirements)
  34. DEVICE_VULKAN_FUNCTION(vkGetImageSubresourceLayout)
  35. DEVICE_VULKAN_FUNCTION(vkMapMemory)
  36. DEVICE_VULKAN_FUNCTION(vkBindBufferMemory)
  37. DEVICE_VULKAN_FUNCTION(vkAllocateMemory)
  38. DEVICE_VULKAN_FUNCTION(vkAllocateCommandBuffers)
  39. DEVICE_VULKAN_FUNCTION(vkCreateCommandPool)
  40. DEVICE_VULKAN_FUNCTION(vkDestroyCommandPool)
  41. DEVICE_VULKAN_FUNCTION(vkDestroyBuffer)
  42. DEVICE_VULKAN_FUNCTION(vkDestroyImage)
  43. DEVICE_VULKAN_FUNCTION(vkGetDeviceQueue)
  44. DEVICE_VULKAN_FUNCTION(vkFreeMemory)
  45. DEVICE_VULKAN_FUNCTION(vkUnmapMemory)
  46. DEVICE_VULKAN_FUNCTION(vkQueueWaitIdle)
  47. DEVICE_VULKAN_FUNCTION(vkDeviceWaitIdle)
  48. DEVICE_VULKAN_FUNCTION(vkCmdCopyBufferToImage)
  49. DEVICE_VULKAN_FUNCTION(vkFlushMappedMemoryRanges)
  50. DEVICE_VULKAN_FUNCTION(vkCreatePipelineLayout)
  51. DEVICE_VULKAN_FUNCTION(vkCreateShaderModule)
  52. DEVICE_VULKAN_FUNCTION(vkDestroyShaderModule)
  53. DEVICE_VULKAN_FUNCTION(vkCreateGraphicsPipelines)
  54. DEVICE_VULKAN_FUNCTION(vkCmdBindPipeline)
  55. DEVICE_VULKAN_FUNCTION(vkCmdDraw)
  56. DEVICE_VULKAN_FUNCTION(vkCmdPushConstants)
  57. DEVICE_VULKAN_FUNCTION(vkCmdBindVertexBuffers)
  58. DEVICE_VULKAN_FUNCTION(vkDestroyPipeline)
  59. DEVICE_VULKAN_FUNCTION(vkBeginCommandBuffer)
  60. DEVICE_VULKAN_FUNCTION(vkBindImageMemory)
  61. DEVICE_VULKAN_FUNCTION(vkCmdCopyImage)
  62. DEVICE_VULKAN_FUNCTION(vkCmdPipelineBarrier)
  63. DEVICE_VULKAN_FUNCTION(vkCreateImageView)
  64. DEVICE_VULKAN_FUNCTION(vkEndCommandBuffer)
  65. DEVICE_VULKAN_FUNCTION(vkResetCommandBuffer)
  66. DEVICE_VULKAN_FUNCTION(vkFreeCommandBuffers)
  67. DEVICE_VULKAN_FUNCTION(vkGetImageMemoryRequirements)
  68. DEVICE_VULKAN_FUNCTION(vkQueueSubmit)
  69. DEVICE_VULKAN_FUNCTION(vkDestroyPipelineLayout)
  70. DEVICE_VULKAN_FUNCTION(vkWaitForFences)
  71. DEVICE_VULKAN_FUNCTION(vkCreateFence)
  72. DEVICE_VULKAN_FUNCTION(vkDestroyFence)
  73. DEVICE_VULKAN_FUNCTION(vkResetFences)
  74. DEVICE_VULKAN_FUNCTION(vkGetFenceStatus)
  75. #undef DEVICE_LEVEL_VULKAN_FUNCTION
  76. #pragma clang diagnostic pop