summaryrefslogtreecommitdiff
path: root/src/vk/graphics_pipeline_3d_skeletal.hpp
diff options
context:
space:
mode:
authorFrederico Linhares <fred@linhares.blue>2023-09-30 16:35:55 -0300
committerFrederico Linhares <fred@linhares.blue>2023-09-30 16:35:55 -0300
commite5b15b871f0cf73563431565a492d9ae3e92e35b (patch)
tree34582bf9495d60636888e7d271aef919122beab6 /src/vk/graphics_pipeline_3d_skeletal.hpp
parent8b7b509077c52093a9fa936c0462248a24646c90 (diff)
refa Remove redundant descriptor sets
* src/vk/light.hpp: Move to this class, the descriptor sets used for lighting by the 3D graphics pipelines.
Diffstat (limited to 'src/vk/graphics_pipeline_3d_skeletal.hpp')
-rw-r--r--src/vk/graphics_pipeline_3d_skeletal.hpp10
1 files changed, 0 insertions, 10 deletions
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 <memory>
#include <unordered_map>
-#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<UniformBuffer> ub_world_vert;
- std::vector<UniformBuffer> ub_world_frag;
-
- VkDescriptorPool descriptor_pool;
- std::vector<VkDescriptorSet> descriptor_sets_world;
-
std::vector<VkFramebuffer> swapchain_framebuffers;
VkPipeline graphic_pipeline;