mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-19 21:28:50 +00:00
vk: Remove unused vk_image
This commit is contained in:
parent
0d05eb6cae
commit
5a9fa0a7e6
|
@ -1176,12 +1176,3 @@ vk_buffer_destroy(struct vk_buffer *self, struct vk_bundle *vk)
|
|||
vk->vkDestroyBuffer(vk->device, self->handle, NULL);
|
||||
vk->vkFreeMemory(vk->device, self->memory, NULL);
|
||||
}
|
||||
|
||||
void
|
||||
vk_image_destroy(struct vk_image *self, struct vk_bundle *vk)
|
||||
{
|
||||
vk->vkDestroySampler(vk->device, self->sampler, NULL);
|
||||
vk->vkDestroyImageView(vk->device, self->view, NULL);
|
||||
vk->vkDestroyImage(vk->device, self->handle, NULL);
|
||||
vk->vkFreeMemory(vk->device, self->memory, NULL);
|
||||
}
|
||||
|
|
|
@ -192,13 +192,6 @@ struct vk_buffer
|
|||
void *data;
|
||||
};
|
||||
|
||||
struct vk_image
|
||||
{
|
||||
VkImage handle;
|
||||
VkDeviceMemory memory;
|
||||
VkImageView view;
|
||||
VkSampler sampler;
|
||||
};
|
||||
|
||||
/*
|
||||
*
|
||||
|
@ -456,9 +449,6 @@ void
|
|||
vk_buffer_destroy(struct vk_buffer *self, struct vk_bundle *vk);
|
||||
|
||||
|
||||
void
|
||||
vk_image_destroy(struct vk_image *self, struct vk_bundle *vk);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue