a/vk: Add vkCmdPushConstants

This commit is contained in:
Jakob Bornecrantz 2023-05-16 14:19:07 +01:00
parent b5a40a1b50
commit 53f96ed20d
3 changed files with 3 additions and 0 deletions

View file

@ -75,6 +75,7 @@ def get_device_cmds():
Cmd("vkCmdCopyImage"),
Cmd("vkCmdCopyImageToBuffer"),
Cmd("vkCmdBlitImage"),
Cmd("vkCmdPushConstants"),
Cmd("vkEndCommandBuffer"),
Cmd("vkFreeCommandBuffers"),
None,

View file

@ -211,6 +211,7 @@ vk_get_device_functions(struct vk_bundle *vk)
vk->vkCmdCopyImage = GET_DEV_PROC(vk, vkCmdCopyImage);
vk->vkCmdCopyImageToBuffer = GET_DEV_PROC(vk, vkCmdCopyImageToBuffer);
vk->vkCmdBlitImage = GET_DEV_PROC(vk, vkCmdBlitImage);
vk->vkCmdPushConstants = GET_DEV_PROC(vk, vkCmdPushConstants);
vk->vkEndCommandBuffer = GET_DEV_PROC(vk, vkEndCommandBuffer);
vk->vkFreeCommandBuffers = GET_DEV_PROC(vk, vkFreeCommandBuffers);

View file

@ -317,6 +317,7 @@ struct vk_bundle
PFN_vkCmdCopyImage vkCmdCopyImage;
PFN_vkCmdCopyImageToBuffer vkCmdCopyImageToBuffer;
PFN_vkCmdBlitImage vkCmdBlitImage;
PFN_vkCmdPushConstants vkCmdPushConstants;
PFN_vkEndCommandBuffer vkEndCommandBuffer;
PFN_vkFreeCommandBuffers vkFreeCommandBuffers;