Adapting to the vulkan loader upgrade

Signed-off-by: wanghongen <wanghongen1@huawei.com>
Change-Id: I6aaa76d5521c68c07409320920fd22891beec061
This commit is contained in:
wanghongen 2024-06-25 10:46:57 +08:00
parent dafd11b4ce
commit c17a0c5126

View File

@ -22,15 +22,17 @@
extern "C" {
#endif
typedef PFN_vkVoidFunction (VKAPI_PTR *PFN_HMS_XEG_GetPerFrameLoad)(uint32_t commandBufferCount, const VkCommandBuffer* pCommandBuffers, uint64_t* val);
VKAPI_ATTR void VKAPI_CALL HMS_XEG_GetPerFrameLoad(
typedef PFN_vkVoidFunction (VKAPI_PTR *PFN_vkGetPerFrameLoad)(uint32_t commandBufferCount,
const VkCommandBuffer* pCommandBuffers,
uint64_t* val);
VKAPI_ATTR void VKAPI_CALL vkGetPerFrameLoad(
uint32_t commandBufferCount,
const VkCommandBuffer* pCommandBuffers,
uint64_t* val
);
typedef PFN_vkVoidFunction (VKAPI_PTR *PFN_HMS_XEG_SetFreqAdjustEnable)(bool enable);
VKAPI_ATTR void VKAPI_CALL HMS_XEG_SetFreqAdjustEnable(
typedef PFN_vkVoidFunction (VKAPI_PTR *PFN_vkSetFreqAdjustEnable)(bool enable);
VKAPI_ATTR void VKAPI_CALL vkSetFreqAdjustEnable(
bool enable
);
@ -39,4 +41,4 @@ VKAPI_ATTR void VKAPI_CALL HMS_XEG_SetFreqAdjustEnable(
}
#endif
#endif
#endif