diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2024-05-05 14:23:16 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2024-05-05 14:23:16 +0200 |
| commit | 99b7ef0c92670a2b3abd1fd83adbe29e481ccc83 (patch) | |
| tree | b8497ac5c89a20b12cdcd36c7e6560013385bfa8 /src | |
| parent | ff030fcbec7ae479b72551ccb094e70a6c3320a6 (diff) | |
| download | box64-99b7ef0c92670a2b3abd1fd83adbe29e481ccc83.tar.gz box64-99b7ef0c92670a2b3abd1fd83adbe29e481ccc83.zip | |
[VULKAN] Added VK_AMDX_shader_enqueue extension
Diffstat (limited to 'src')
| -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 | 7 | ||||
| -rw-r--r-- | src/wrapped/wrappedvulkan_private.h | 9 |
4 files changed, 18 insertions, 0 deletions
diff --git a/src/wrapped/generated/functions_list.txt b/src/wrapped/generated/functions_list.txt index d2d9e3a2..1206c1dc 100644 --- a/src/wrapped/generated/functions_list.txt +++ b/src/wrapped/generated/functions_list.txt @@ -5623,6 +5623,7 @@ wrappedvulkan: - vkRegisterDisplayEventEXT - iFpUuppp: - vkCreateComputePipelines + - vkCreateExecutionGraphPipelinesAMDX - vkCreateGraphicsPipelines - vkCreateRayTracingPipelinesNV - iFpUUuppp: diff --git a/src/wrapped/generated/wrappedvulkantypes.h b/src/wrapped/generated/wrappedvulkantypes.h index 230bd374..6a06c039 100644 --- a/src/wrapped/generated/wrappedvulkantypes.h +++ b/src/wrapped/generated/wrappedvulkantypes.h @@ -135,6 +135,7 @@ typedef void (*vFpiiiupupup_t)(void*, int32_t, int32_t, int32_t, uint32_t, void* GO(vkCreateDisplayModeKHR, iFpUppp_t) \ GO(vkRegisterDisplayEventEXT, iFpUppp_t) \ GO(vkCreateComputePipelines, iFpUuppp_t) \ + GO(vkCreateExecutionGraphPipelinesAMDX, iFpUuppp_t) \ GO(vkCreateGraphicsPipelines, iFpUuppp_t) \ GO(vkCreateRayTracingPipelinesNV, iFpUuppp_t) \ GO(vkCreateRayTracingPipelinesKHR, iFpUUuppp_t) \ diff --git a/src/wrapped/wrappedvulkan.c b/src/wrapped/wrappedvulkan.c index be6588c7..ef83430c 100644 --- a/src/wrapped/wrappedvulkan.c +++ b/src/wrapped/wrappedvulkan.c @@ -620,6 +620,13 @@ EXPORT int my_vkCreateShadersEXT(x64emu_t* emu, void* device, uint32_t count, vo return ret; } +EXPORT int my_vkCreateExecutionGraphPipelinesAMDX(x64emu_t* emu, void* device, uint64_t pipelineCache, uint32_t count, void** pCreateInfos, my_VkAllocationCallbacks_t* pAllocator, void* pPipeLines) +{ + my_VkAllocationCallbacks_t my_alloc; + int ret = my->vkCreateExecutionGraphPipelinesAMDX(device, pipelineCache, count, pCreateInfos, find_VkAllocationCallbacks(&my_alloc, pAllocator), pPipeLines); + return ret; +} + DESTROY64(vkDestroyShaderEXT) diff --git a/src/wrapped/wrappedvulkan_private.h b/src/wrapped/wrappedvulkan_private.h index 3b81c217..8edb8d78 100644 --- a/src/wrapped/wrappedvulkan_private.h +++ b/src/wrapped/wrappedvulkan_private.h @@ -956,3 +956,12 @@ GO(vkLatencySleepNV, iFpUp) GO(vkQueueNotifyOutOfBandNV, vFpp) GO(vkSetLatencyMarkerNV, vFpUp) GO(vkSetLatencySleepModeNV, iFpUp) + +// VK_AMDX_shader_enqueue +GO(vkCmdDispatchGraphAMDX, vFpUp) +GO(vkCmdDispatchGraphIndirectAMDX, vFpUp) +GO(vkCmdDispatchGraphIndirectCountAMDX, vFpUU) +GO(vkCmdInitializeGraphScratchMemoryAMDX, vFpU) +GOM(vkCreateExecutionGraphPipelinesAMDX, iFEpUuppp) +GO(vkGetExecutionGraphPipelineNodeIndexAMDX, iFpUpp) +GO(vkGetExecutionGraphPipelineScratchSizeAMDX, iFpUp) |