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("vkCmdCopyImage"),
Cmd("vkCmdCopyImageToBuffer"), Cmd("vkCmdCopyImageToBuffer"),
Cmd("vkCmdBlitImage"), Cmd("vkCmdBlitImage"),
Cmd("vkCmdPushConstants"),
Cmd("vkEndCommandBuffer"), Cmd("vkEndCommandBuffer"),
Cmd("vkFreeCommandBuffers"), Cmd("vkFreeCommandBuffers"),
None, None,

View file

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

View file

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