mirror of
https://github.com/openharmony/third_party_vulkan-loader.git
synced 2026-07-18 16:14:33 -04:00
build: Update to header 1.2.184
- Update known-good - Generate source Change-Id: Ib2cfed88095541a127c23cf7418e9a66d81bd35e
This commit is contained in:
@@ -283,6 +283,7 @@ static VKAPI_ATTR VkResult VKAPI_CALL StubImportSemaphoreZirconHandleFUCHSIA(VkD
|
||||
#ifdef VK_USE_PLATFORM_FUCHSIA
|
||||
static VKAPI_ATTR VkResult VKAPI_CALL StubGetSemaphoreZirconHandleFUCHSIA(VkDevice device, const VkSemaphoreGetZirconHandleInfoFUCHSIA* pGetZirconHandleInfo, zx_handle_t* pZirconHandle) { return VK_SUCCESS; };
|
||||
#endif // VK_USE_PLATFORM_FUCHSIA
|
||||
static VKAPI_ATTR VkResult VKAPI_CALL StubGetMemoryRemoteAddressNV(VkDevice device, const VkMemoryGetRemoteAddressInfoNV* getMemoryRemoteAddressInfo, VkRemoteAddressNV* pAddress) { return VK_SUCCESS; };
|
||||
static VKAPI_ATTR void VKAPI_CALL StubCmdSetPatchControlPointsEXT(VkCommandBuffer commandBuffer, uint32_t patchControlPoints) { };
|
||||
static VKAPI_ATTR void VKAPI_CALL StubCmdSetRasterizerDiscardEnableEXT(VkCommandBuffer commandBuffer, VkBool32 rasterizerDiscardEnable) { };
|
||||
static VKAPI_ATTR void VKAPI_CALL StubCmdSetDepthBiasEnableEXT(VkCommandBuffer commandBuffer, VkBool32 depthBiasEnable) { };
|
||||
@@ -929,6 +930,8 @@ static inline void layer_init_device_dispatch_table(VkDevice device, VkLayerDisp
|
||||
table->GetSemaphoreZirconHandleFUCHSIA = (PFN_vkGetSemaphoreZirconHandleFUCHSIA) gpa(device, "vkGetSemaphoreZirconHandleFUCHSIA");
|
||||
if (table->GetSemaphoreZirconHandleFUCHSIA == nullptr) { table->GetSemaphoreZirconHandleFUCHSIA = (PFN_vkGetSemaphoreZirconHandleFUCHSIA)StubGetSemaphoreZirconHandleFUCHSIA; }
|
||||
#endif // VK_USE_PLATFORM_FUCHSIA
|
||||
table->GetMemoryRemoteAddressNV = (PFN_vkGetMemoryRemoteAddressNV) gpa(device, "vkGetMemoryRemoteAddressNV");
|
||||
if (table->GetMemoryRemoteAddressNV == nullptr) { table->GetMemoryRemoteAddressNV = (PFN_vkGetMemoryRemoteAddressNV)StubGetMemoryRemoteAddressNV; }
|
||||
table->CmdSetPatchControlPointsEXT = (PFN_vkCmdSetPatchControlPointsEXT) gpa(device, "vkCmdSetPatchControlPointsEXT");
|
||||
if (table->CmdSetPatchControlPointsEXT == nullptr) { table->CmdSetPatchControlPointsEXT = (PFN_vkCmdSetPatchControlPointsEXT)StubCmdSetPatchControlPointsEXT; }
|
||||
table->CmdSetRasterizerDiscardEnableEXT = (PFN_vkCmdSetRasterizerDiscardEnableEXT) gpa(device, "vkCmdSetRasterizerDiscardEnableEXT");
|
||||
|
||||
@@ -833,6 +833,9 @@ typedef struct VkLayerDispatchTable_ {
|
||||
PFN_vkGetSemaphoreZirconHandleFUCHSIA GetSemaphoreZirconHandleFUCHSIA;
|
||||
#endif // VK_USE_PLATFORM_FUCHSIA
|
||||
|
||||
// ---- VK_NV_external_memory_rdma extension commands
|
||||
PFN_vkGetMemoryRemoteAddressNV GetMemoryRemoteAddressNV;
|
||||
|
||||
// ---- VK_EXT_extended_dynamic_state2 extension commands
|
||||
PFN_vkCmdSetPatchControlPointsEXT CmdSetPatchControlPointsEXT;
|
||||
PFN_vkCmdSetRasterizerDiscardEnableEXT CmdSetRasterizerDiscardEnableEXT;
|
||||
|
||||
@@ -896,6 +896,9 @@ VKAPI_ATTR void VKAPI_CALL loader_init_device_extension_dispatch_table(struct lo
|
||||
table->GetSemaphoreZirconHandleFUCHSIA = (PFN_vkGetSemaphoreZirconHandleFUCHSIA)gdpa(dev, "vkGetSemaphoreZirconHandleFUCHSIA");
|
||||
#endif // VK_USE_PLATFORM_FUCHSIA
|
||||
|
||||
// ---- VK_NV_external_memory_rdma extension commands
|
||||
table->GetMemoryRemoteAddressNV = (PFN_vkGetMemoryRemoteAddressNV)gdpa(dev, "vkGetMemoryRemoteAddressNV");
|
||||
|
||||
// ---- VK_EXT_extended_dynamic_state2 extension commands
|
||||
table->CmdSetPatchControlPointsEXT = (PFN_vkCmdSetPatchControlPointsEXT)gdpa(dev, "vkCmdSetPatchControlPointsEXT");
|
||||
table->CmdSetRasterizerDiscardEnableEXT = (PFN_vkCmdSetRasterizerDiscardEnableEXT)gdpa(dev, "vkCmdSetRasterizerDiscardEnableEXT");
|
||||
@@ -1746,6 +1749,9 @@ VKAPI_ATTR void* VKAPI_CALL loader_lookup_device_dispatch_table(const VkLayerDis
|
||||
if (!strcmp(name, "GetSemaphoreZirconHandleFUCHSIA")) return (void *)table->GetSemaphoreZirconHandleFUCHSIA;
|
||||
#endif // VK_USE_PLATFORM_FUCHSIA
|
||||
|
||||
// ---- VK_NV_external_memory_rdma extension commands
|
||||
if (!strcmp(name, "GetMemoryRemoteAddressNV")) return (void *)table->GetMemoryRemoteAddressNV;
|
||||
|
||||
// ---- VK_EXT_extended_dynamic_state2 extension commands
|
||||
if (!strcmp(name, "CmdSetPatchControlPointsEXT")) return (void *)table->CmdSetPatchControlPointsEXT;
|
||||
if (!strcmp(name, "CmdSetRasterizerDiscardEnableEXT")) return (void *)table->CmdSetRasterizerDiscardEnableEXT;
|
||||
@@ -4505,6 +4511,17 @@ VKAPI_ATTR VkResult VKAPI_CALL GetSemaphoreZirconHandleFUCHSIA(
|
||||
|
||||
#endif // VK_USE_PLATFORM_FUCHSIA
|
||||
|
||||
// ---- VK_NV_external_memory_rdma extension trampoline/terminators
|
||||
|
||||
VKAPI_ATTR VkResult VKAPI_CALL GetMemoryRemoteAddressNV(
|
||||
VkDevice device,
|
||||
const VkMemoryGetRemoteAddressInfoNV* getMemoryRemoteAddressInfo,
|
||||
VkRemoteAddressNV* pAddress) {
|
||||
const VkLayerDispatchTable *disp = loader_get_dispatch(device);
|
||||
return disp->GetMemoryRemoteAddressNV(device, getMemoryRemoteAddressInfo, pAddress);
|
||||
}
|
||||
|
||||
|
||||
// ---- VK_EXT_extended_dynamic_state2 extension trampoline/terminators
|
||||
|
||||
VKAPI_ATTR void VKAPI_CALL CmdSetPatchControlPointsEXT(
|
||||
@@ -5999,6 +6016,12 @@ bool extension_instance_gpa(struct loader_instance *ptr_instance, const char *na
|
||||
}
|
||||
#endif // VK_USE_PLATFORM_FUCHSIA
|
||||
|
||||
// ---- VK_NV_external_memory_rdma extension commands
|
||||
if (!strcmp("vkGetMemoryRemoteAddressNV", name)) {
|
||||
*addr = (void *)GetMemoryRemoteAddressNV;
|
||||
return true;
|
||||
}
|
||||
|
||||
// ---- VK_EXT_extended_dynamic_state2 extension commands
|
||||
if (!strcmp("vkCmdSetPatchControlPointsEXT", name)) {
|
||||
*addr = (void *)CmdSetPatchControlPointsEXT;
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
"sub_dir" : "Vulkan-Headers",
|
||||
"build_dir" : "Vulkan-Headers/build",
|
||||
"install_dir" : "Vulkan-Headers/build/install",
|
||||
"commit" : "v1.2.183"
|
||||
"commit" : "v1.2.184"
|
||||
}
|
||||
],
|
||||
"install_names" : {
|
||||
|
||||
Reference in New Issue
Block a user