aux/vk: Add vkCmdBlitImage to vk_helpers

This commit is contained in:
Moses Turner 2022-02-18 19:15:03 -06:00
parent 3a7569a7b0
commit 5a2088ee3e
3 changed files with 5 additions and 0 deletions

View file

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

View file

@ -13,6 +13,7 @@
* *
* @author Jakob Bornecrantz <jakob@collabora.com> * @author Jakob Bornecrantz <jakob@collabora.com>
* @author Lubosz Sarnecki <lubosz.sarnecki@collabora.com> * @author Lubosz Sarnecki <lubosz.sarnecki@collabora.com>
* @author Moses Turner <moses@collabora.com>
* @ingroup aux_vk * @ingroup aux_vk
*/ */
@ -1059,6 +1060,7 @@ vk_get_device_functions(struct vk_bundle *vk)
vk->vkCmdCopyBufferToImage = GET_DEV_PROC(vk, vkCmdCopyBufferToImage); vk->vkCmdCopyBufferToImage = GET_DEV_PROC(vk, vkCmdCopyBufferToImage);
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->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

@ -13,6 +13,7 @@
* *
* @author Jakob Bornecrantz <jakob@collabora.com> * @author Jakob Bornecrantz <jakob@collabora.com>
* @author Lubosz Sarnecki <lubosz.sarnecki@collabora.com> * @author Lubosz Sarnecki <lubosz.sarnecki@collabora.com>
* @author Moses Turner <moses@collabora.com>
* @ingroup aux_vk * @ingroup aux_vk
*/ */
@ -211,6 +212,7 @@ struct vk_bundle
PFN_vkCmdCopyBufferToImage vkCmdCopyBufferToImage; PFN_vkCmdCopyBufferToImage vkCmdCopyBufferToImage;
PFN_vkCmdCopyImage vkCmdCopyImage; PFN_vkCmdCopyImage vkCmdCopyImage;
PFN_vkCmdCopyImageToBuffer vkCmdCopyImageToBuffer; PFN_vkCmdCopyImageToBuffer vkCmdCopyImageToBuffer;
PFN_vkCmdBlitImage vkCmdBlitImage;
PFN_vkEndCommandBuffer vkEndCommandBuffer; PFN_vkEndCommandBuffer vkEndCommandBuffer;
PFN_vkFreeCommandBuffers vkFreeCommandBuffers; PFN_vkFreeCommandBuffers vkFreeCommandBuffers;