From 4ae9a520d97dcaf69f4a0cd044a4fc3fe689924d Mon Sep 17 00:00:00 2001 From: ladevieq Date: Mon, 7 Feb 2022 21:53:14 +0100 Subject: Compute shader render pass api --- include/vk-api.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/vk-api.hpp') diff --git a/include/vk-api.hpp b/include/vk-api.hpp index 864632e..9cc7707 100644 --- a/include/vk-api.hpp +++ b/include/vk-api.hpp @@ -3,6 +3,7 @@ #include #include +#include #include "vk-context.hpp" @@ -152,6 +153,7 @@ class vkapi { swapchain create_swapchain(VkSurfaceKHR surface, size_t min_image_count, VkImageUsageFlags usages, VkSwapchainKHR old_swapchain); void destroy_swapchain(swapchain& swapchain); + void update_descriptor_image(image &img, VkDescriptorType type); void update_descriptor_images(std::vector &images, VkDescriptorType type); void update_descriptor_samplers(std::vector &samplers); -- cgit v1.3