!30 Adapting to the vulkan loader upgrade

Merge pull request !30 from wanghongen/625_dev
This commit is contained in:
openharmony_ci 2024-06-25 09:37:12 +00:00 committed by Gitee
commit de4b2f2aa0
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

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