about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2025-03-11 16:50:00 +0100
committerptitSeb <sebastien.chev@gmail.com>2025-03-11 16:50:00 +0100
commit835ecf8a1947586ef034d9b99cff1d5ddb030cc9 (patch)
treef31adc09cd94f2dd27f05de6d09dd4236fe4e552
parent470ff6e652e07c3daef2666f2730c1c283bb9497 (diff)
downloadbox64-835ecf8a1947586ef034d9b99cff1d5ddb030cc9.tar.gz
box64-835ecf8a1947586ef034d9b99cff1d5ddb030cc9.zip
[WRAPPER] Added a few more Vulkan extensions
-rw-r--r--src/wrapped/generated/functions_list.txt7
-rw-r--r--src/wrapped/generated/wrappedvulkantypes.h7
-rw-r--r--src/wrapped/wrappedvulkan.c11
-rw-r--r--src/wrapped/wrappedvulkan_private.h24
4 files changed, 48 insertions, 1 deletions
diff --git a/src/wrapped/generated/functions_list.txt b/src/wrapped/generated/functions_list.txt
index a18ca02d..5df8667d 100644
--- a/src/wrapped/generated/functions_list.txt
+++ b/src/wrapped/generated/functions_list.txt
@@ -6086,10 +6086,13 @@ wrappedvulkan:
   - vkDestroyFramebuffer
   - vkDestroyImage
   - vkDestroyImageView
+  - vkDestroyIndirectCommandsLayoutEXT
   - vkDestroyIndirectCommandsLayoutNV
+  - vkDestroyIndirectExecutionSetEXT
   - vkDestroyMicromapEXT
   - vkDestroyOpticalFlowSessionNV
   - vkDestroyPipeline
+  - vkDestroyPipelineBinaryKHR
   - vkDestroyPipelineCache
   - vkDestroyPipelineLayout
   - vkDestroyPrivateDataSlot
@@ -6116,6 +6119,7 @@ wrappedvulkan:
   - vkCreateDeferredOperationKHR
   - vkCreateInstance
   - vkGetPhysicalDeviceDisplayPropertiesKHR
+  - vkReleaseCapturedPipelineDataKHR
 - iFpUup:
   - vkGetDisplayPlaneCapabilitiesKHR
 - iFpppp:
@@ -6144,9 +6148,12 @@ wrappedvulkan:
   - vkCreateHeadlessSurfaceEXT
   - vkCreateImage
   - vkCreateImageView
+  - vkCreateIndirectCommandsLayoutEXT
   - vkCreateIndirectCommandsLayoutNV
+  - vkCreateIndirectExecutionSetEXT
   - vkCreateMicromapEXT
   - vkCreateOpticalFlowSessionNV
+  - vkCreatePipelineBinariesKHR
   - vkCreatePipelineCache
   - vkCreatePipelineLayout
   - vkCreatePrivateDataSlot
diff --git a/src/wrapped/generated/wrappedvulkantypes.h b/src/wrapped/generated/wrappedvulkantypes.h
index 7bd22649..5e72e7e9 100644
--- a/src/wrapped/generated/wrappedvulkantypes.h
+++ b/src/wrapped/generated/wrappedvulkantypes.h
@@ -54,10 +54,13 @@ typedef void (*vFpuuuupupup_t)(void*, uint32_t, uint32_t, uint32_t, uint32_t, vo
 	GO(vkDestroyFramebuffer, vFpUp_t) \
 	GO(vkDestroyImage, vFpUp_t) \
 	GO(vkDestroyImageView, vFpUp_t) \
+	GO(vkDestroyIndirectCommandsLayoutEXT, vFpUp_t) \
 	GO(vkDestroyIndirectCommandsLayoutNV, vFpUp_t) \
+	GO(vkDestroyIndirectExecutionSetEXT, vFpUp_t) \
 	GO(vkDestroyMicromapEXT, vFpUp_t) \
 	GO(vkDestroyOpticalFlowSessionNV, vFpUp_t) \
 	GO(vkDestroyPipeline, vFpUp_t) \
+	GO(vkDestroyPipelineBinaryKHR, vFpUp_t) \
 	GO(vkDestroyPipelineCache, vFpUp_t) \
 	GO(vkDestroyPipelineLayout, vFpUp_t) \
 	GO(vkDestroyPrivateDataSlot, vFpUp_t) \
@@ -81,6 +84,7 @@ typedef void (*vFpuuuupupup_t)(void*, uint32_t, uint32_t, uint32_t, uint32_t, vo
 	GO(vkCreateDeferredOperationKHR, iFppp_t) \
 	GO(vkCreateInstance, iFppp_t) \
 	GO(vkGetPhysicalDeviceDisplayPropertiesKHR, iFppp_t) \
+	GO(vkReleaseCapturedPipelineDataKHR, iFppp_t) \
 	GO(vkGetDisplayPlaneCapabilitiesKHR, iFpUup_t) \
 	GO(vkAllocateMemory, iFpppp_t) \
 	GO(vkCreateAccelerationStructureKHR, iFpppp_t) \
@@ -107,9 +111,12 @@ typedef void (*vFpuuuupupup_t)(void*, uint32_t, uint32_t, uint32_t, uint32_t, vo
 	GO(vkCreateHeadlessSurfaceEXT, iFpppp_t) \
 	GO(vkCreateImage, iFpppp_t) \
 	GO(vkCreateImageView, iFpppp_t) \
+	GO(vkCreateIndirectCommandsLayoutEXT, iFpppp_t) \
 	GO(vkCreateIndirectCommandsLayoutNV, iFpppp_t) \
+	GO(vkCreateIndirectExecutionSetEXT, iFpppp_t) \
 	GO(vkCreateMicromapEXT, iFpppp_t) \
 	GO(vkCreateOpticalFlowSessionNV, iFpppp_t) \
+	GO(vkCreatePipelineBinariesKHR, iFpppp_t) \
 	GO(vkCreatePipelineCache, iFpppp_t) \
 	GO(vkCreatePipelineLayout, iFpppp_t) \
 	GO(vkCreatePrivateDataSlot, iFpppp_t) \
diff --git a/src/wrapped/wrappedvulkan.c b/src/wrapped/wrappedvulkan.c
index 1fb003c1..e201d76d 100644
--- a/src/wrapped/wrappedvulkan.c
+++ b/src/wrapped/wrappedvulkan.c
@@ -827,4 +827,13 @@ EXPORT void my_vkGetPhysicalDeviceProperties2(x64emu_t* emu, void* device, void*
         }
         p = p->pNext;
     }
-}
\ No newline at end of file
+}
+
+CREATE(vkCreateIndirectCommandsLayoutEXT)
+CREATE(vkCreateIndirectExecutionSetEXT)
+DESTROY64(vkDestroyIndirectCommandsLayoutEXT)
+DESTROY64(vkDestroyIndirectExecutionSetEXT)
+
+CREATE(vkCreatePipelineBinariesKHR)
+DESTROY64(vkDestroyPipelineBinaryKHR)
+DESTROY(vkReleaseCapturedPipelineDataKHR)
diff --git a/src/wrapped/wrappedvulkan_private.h b/src/wrapped/wrappedvulkan_private.h
index be727b3a..5048fcf0 100644
--- a/src/wrapped/wrappedvulkan_private.h
+++ b/src/wrapped/wrappedvulkan_private.h
@@ -1000,3 +1000,27 @@ GO(wine_vkReleaseKeyedMutex, iFpUU)
 
 // VK_NV_cooperative_matrix2
 GO(vkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV, iFppp)
+
+// VK_AMD_anti_lag
+GO(vkAntiLagUpdateAMD, vFpp)
+
+// VK_EXT_device_generated_commands
+GO(vkCmdExecuteGeneratedCommandsEXT, vFpup)
+GO(vkCmdPreprocessGeneratedCommandsEXT, vFppp)
+GOM(vkCreateIndirectCommandsLayoutEXT, iFEpppp)
+GOM(vkCreateIndirectExecutionSetEXT, iFEpppp)
+GOM(vkDestroyIndirectCommandsLayoutEXT, vFEpUp)
+GOM(vkDestroyIndirectExecutionSetEXT, vFEpUp)
+GO(vkGetGeneratedCommandsMemoryRequirementsEXT, vFppp)
+GO(vkUpdateIndirectExecutionSetPipelineEXT, vFpUup)
+GO(vkUpdateIndirectExecutionSetShaderEXT, vFpUup)
+
+// VK_KHR_pipeline_binary
+GOM(vkCreatePipelineBinariesKHR, iFEpppp)
+GOM(vkDestroyPipelineBinaryKHR, vFEpUp)
+GO(vkGetPipelineBinaryDataKHR, iFppppp)
+GO(vkGetPipelineKeyKHR, iFppp)
+GOM(vkReleaseCapturedPipelineDataKHR, iFEppp)
+
+// VK_EXT_depth_clamp_control
+GO(vkCmdSetDepthClampRangeEXT, vFpup)