diff options
| author | KreitinnSoftware <80591934+KreitinnSoftware@users.noreply.github.com> | 2024-07-04 19:23:45 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-05 00:23:45 +0200 |
| commit | 688665e73051c64bd2507be9de558ea28933af92 (patch) | |
| tree | 34c03ce245e02c6441670217a5d1e896c172b0b6 /src/wrapped | |
| parent | a6762552318897d9114b0a33668b1a84a521c409 (diff) | |
| download | box64-688665e73051c64bd2507be9de558ea28933af92.tar.gz box64-688665e73051c64bd2507be9de558ea28933af92.zip | |
[VULKAN] Add Wrapped VK_KHR_android_surface (#1643)
Diffstat (limited to 'src/wrapped')
| -rw-r--r-- | src/wrapped/generated/functions_list.txt | 1 | ||||
| -rw-r--r-- | src/wrapped/generated/wrappedvulkantypes.h | 1 | ||||
| -rw-r--r-- | src/wrapped/wrappedvulkan.c | 1 | ||||
| -rw-r--r-- | src/wrapped/wrappedvulkan_private.h | 3 |
4 files changed, 6 insertions, 0 deletions
diff --git a/src/wrapped/generated/functions_list.txt b/src/wrapped/generated/functions_list.txt index ee5df648..f20d21dd 100644 --- a/src/wrapped/generated/functions_list.txt +++ b/src/wrapped/generated/functions_list.txt @@ -5619,6 +5619,7 @@ wrappedvulkan: - vkAllocateMemory - vkCreateAccelerationStructureKHR - vkCreateAccelerationStructureNV + - vkCreateAndroidSurfaceKHR - vkCreateBuffer - vkCreateBufferView - vkCreateCommandPool diff --git a/src/wrapped/generated/wrappedvulkantypes.h b/src/wrapped/generated/wrappedvulkantypes.h index c6807002..fd784391 100644 --- a/src/wrapped/generated/wrappedvulkantypes.h +++ b/src/wrapped/generated/wrappedvulkantypes.h @@ -84,6 +84,7 @@ typedef void (*vFpuuuupupup_t)(void*, uint32_t, uint32_t, uint32_t, uint32_t, vo GO(vkAllocateMemory, iFpppp_t) \ GO(vkCreateAccelerationStructureKHR, iFpppp_t) \ GO(vkCreateAccelerationStructureNV, iFpppp_t) \ + GO(vkCreateAndroidSurfaceKHR, iFpppp_t) \ GO(vkCreateBuffer, iFpppp_t) \ GO(vkCreateBufferView, iFpppp_t) \ GO(vkCreateCommandPool, iFpppp_t) \ diff --git a/src/wrapped/wrappedvulkan.c b/src/wrapped/wrappedvulkan.c index 68b4e66e..82f137f2 100644 --- a/src/wrapped/wrappedvulkan.c +++ b/src/wrapped/wrappedvulkan.c @@ -597,6 +597,7 @@ EXPORT int my_vkCreateXcbSurfaceKHR(x64emu_t* emu, void* instance, void* info, m return ret; } CREATE(vkCreateXlibSurfaceKHR) +CREATE(vkCreateAndroidSurfaceKHR) CREATE(vkCreateRenderPass2) CREATE(vkCreateRenderPass2KHR) diff --git a/src/wrapped/wrappedvulkan_private.h b/src/wrapped/wrappedvulkan_private.h index b5921b4a..e278f007 100644 --- a/src/wrapped/wrappedvulkan_private.h +++ b/src/wrapped/wrappedvulkan_private.h @@ -311,6 +311,9 @@ GO(vkGetPhysicalDeviceXcbPresentationSupportKHR, uFpubp) GOM(vkCreateXlibSurfaceKHR, iFEpppp) GO(vkGetPhysicalDeviceXlibPresentationSupportKHR, uFpupp) +// VK_KHR_android_surface +GOM(vkCreateAndroidSurfaceKHR, iFEpppp) + // VK_KHR_swapchain GO(vkAcquireNextImageKHR, iFpUUUUp) GO(vkAcquireNextImage2KHR, iFppp) |