mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 23:40:10 +01:00
vk/0.132: Add vkDestroyImage()
We only need to add it to vulkan.h because Jason defined the function earlier in image.c.
This commit is contained in:
parent
e18377f435
commit
dd67c134ad
2 changed files with 5 additions and 1 deletions
|
|
@ -2030,6 +2030,7 @@ typedef VkResult (VKAPI *PFN_vkCreateBuffer)(VkDevice device, const VkBufferCrea
|
|||
typedef VkResult (VKAPI *PFN_vkDestroyBuffer)(VkDevice device, VkBuffer buffer);
|
||||
typedef VkResult (VKAPI *PFN_vkCreateBufferView)(VkDevice device, const VkBufferViewCreateInfo* pCreateInfo, VkBufferView* pView);
|
||||
typedef VkResult (VKAPI *PFN_vkCreateImage)(VkDevice device, const VkImageCreateInfo* pCreateInfo, VkImage* pImage);
|
||||
typedef VkResult (VKAPI *PFN_vkDestroyImage)(VkDevice device, VkImage image);
|
||||
typedef VkResult (VKAPI *PFN_vkGetImageSubresourceLayout)(VkDevice device, VkImage image, const VkImageSubresource* pSubresource, VkSubresourceLayout* pLayout);
|
||||
typedef VkResult (VKAPI *PFN_vkCreateImageView)(VkDevice device, const VkImageViewCreateInfo* pCreateInfo, VkImageView* pView);
|
||||
typedef VkResult (VKAPI *PFN_vkCreateColorAttachmentView)(VkDevice device, const VkColorAttachmentViewCreateInfo* pCreateInfo, VkColorAttachmentView* pView);
|
||||
|
|
@ -2361,6 +2362,10 @@ VkResult VKAPI vkCreateImage(
|
|||
const VkImageCreateInfo* pCreateInfo,
|
||||
VkImage* pImage);
|
||||
|
||||
VkResult VKAPI vkDestroyImage(
|
||||
VkDevice device,
|
||||
VkImage image);
|
||||
|
||||
VkResult VKAPI vkGetImageSubresourceLayout(
|
||||
VkDevice device,
|
||||
VkImage image,
|
||||
|
|
|
|||
|
|
@ -944,7 +944,6 @@ anv_cmd_buffer_clear(struct anv_cmd_buffer *cmd_buffer,
|
|||
void *
|
||||
anv_lookup_entrypoint(const char *name);
|
||||
|
||||
VkResult anv_DestroyImage(VkDevice device, VkImage image);
|
||||
VkResult anv_DestroyImageView(VkDevice device, VkImageView imageView);
|
||||
VkResult anv_DestroyBufferView(VkDevice device, VkBufferView bufferView);
|
||||
VkResult anv_DestroyColorAttachmentView(VkDevice device,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue