about summary refs log tree commit diff stats
path: root/src/wrapped/wrappedvulkan.c
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2022-07-14 18:32:15 +0200
committerptitSeb <sebastien.chev@gmail.com>2022-07-14 18:32:15 +0200
commit88406332d2725abfa00fd22bce9f4fb33a8eecca (patch)
tree9f4afbdd07e3282e5513fefa6dbeb91d4b4df5a8 /src/wrapped/wrappedvulkan.c
parent6cb9561d96f7b4c91eb9ab733e799d96c95d7d3a (diff)
downloadbox64-88406332d2725abfa00fd22bce9f4fb33a8eecca.tar.gz
box64-88406332d2725abfa00fd22bce9f4fb33a8eecca.zip
Added a bunch of vulkan functions wrappers
Diffstat (limited to 'src/wrapped/wrappedvulkan.c')
-rwxr-xr-xsrc/wrapped/wrappedvulkan.c42
1 files changed, 42 insertions, 0 deletions
diff --git a/src/wrapped/wrappedvulkan.c b/src/wrapped/wrappedvulkan.c
index b3f1b9d8..56868ac5 100755
--- a/src/wrapped/wrappedvulkan.c
+++ b/src/wrapped/wrappedvulkan.c
@@ -508,6 +508,48 @@ DESTROY64(vkDestroySamplerYcbcrConversionKHR)
 
 DESTROY64(vkDestroyValidationCacheEXT)
 
+CREATE(vkCreateVideoSessionKHR)
+CREATE(vkCreateVideoSessionParametersKHR)
+DESTROY64(vkDestroyVideoSessionKHR)
+DESTROY64(vkDestroyVideoSessionParametersKHR)
+
+CREATE(vkCreatePrivateDataSlot)
+CREATE(vkCreatePrivateDataSlotEXT)
+DESTROY64(vkDestroyPrivateDataSlot)
+DESTROY64(vkDestroyPrivateDataSlotEXT)
+
+CREATE(vkCreateAccelerationStructureKHR)
+DESTROY64(vkDestroyAccelerationStructureKHR)
+
+EXPORT int my_vkCreateDeferredOperationKHR(x64emu_t* emu, void* device, my_VkAllocationCallbacks_t* pAllocator, void* p)
+{
+    my_VkAllocationCallbacks_t my_alloc;
+    return my->vkCreateDeferredOperationKHR(device, find_VkAllocationCallbacks(&my_alloc, pAllocator), p);
+}
+DESTROY64(vkDestroyDeferredOperationKHR)
+
+EXPORT int my_vkCreateRayTracingPipelinesKHR(x64emu_t* emu, void* device, uint64_t op, uint64_t pipeline, uint32_t count, void* infos, my_VkAllocationCallbacks_t* pAllocator, void* p)
+{
+    my_VkAllocationCallbacks_t my_alloc;
+    return my->vkCreateRayTracingPipelinesKHR(device, op, pipeline, count, infos, find_VkAllocationCallbacks(&my_alloc, pAllocator), p);
+}
+
+CREATE(vkCreateCuFunctionNVX)
+CREATE(vkCreateCuModuleNVX)
+DESTROY64(vkDestroyCuFunctionNVX)
+DESTROY64(vkDestroyCuModuleNVX)
+
+CREATE(vkCreateIndirectCommandsLayoutNV)
+DESTROY64(vkDestroyIndirectCommandsLayoutNV)
+
+CREATE(vkCreateAccelerationStructureNV)
+EXPORT int my_vkCreateRayTracingPipelinesNV(x64emu_t* emu, void* device, uint64_t pipeline, uint32_t count, void* infos, my_VkAllocationCallbacks_t* pAllocator, void* p)
+{
+    my_VkAllocationCallbacks_t my_alloc;
+    return my->vkCreateRayTracingPipelinesNV(device, pipeline, count, infos, find_VkAllocationCallbacks(&my_alloc, pAllocator), p);
+}
+DESTROY64(vkDestroyAccelerationStructureNV)
+
 EXPORT void my_vkGetPhysicalDeviceProperties(x64emu_t* emu, void* device, void* pProps)
 {
     my->vkGetPhysicalDeviceProperties(device, pProps);