From e5b15b871f0cf73563431565a492d9ae3e92e35b Mon Sep 17 00:00:00 2001 From: Frederico Linhares Date: Sat, 30 Sep 2023 16:35:55 -0300 Subject: refa Remove redundant descriptor sets * src/vk/light.hpp: Move to this class, the descriptor sets used for lighting by the 3D graphics pipelines. --- src/vk/graphics_pipeline_3d_skeletal.hpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/vk/graphics_pipeline_3d_skeletal.hpp') diff --git a/src/vk/graphics_pipeline_3d_skeletal.hpp b/src/vk/graphics_pipeline_3d_skeletal.hpp index 9563e14..fa9226a 100644 --- a/src/vk/graphics_pipeline_3d_skeletal.hpp +++ b/src/vk/graphics_pipeline_3d_skeletal.hpp @@ -20,11 +20,8 @@ #include #include -#include "../command.hpp" #include "core.hpp" #include "command_pool.hpp" -#include "skeletal_model.hpp" -#include "uniform_buffer.hpp" #include "view_3d.hpp" namespace VK @@ -37,13 +34,6 @@ struct GraphicsPipeline3DSkeletal VkDeviceMemory depth_image_memory; VkImageView depth_image_view; - // FIXME: if this vector get resized, it will cause a segmentation fault! - std::vector ub_world_vert; - std::vector ub_world_frag; - - VkDescriptorPool descriptor_pool; - std::vector descriptor_sets_world; - std::vector swapchain_framebuffers; VkPipeline graphic_pipeline; -- cgit v1.2.3