From b44c79e11ba574c74ae650e1430b1d173aacc910 Mon Sep 17 00:00:00 2001 From: Frederico Linhares Date: Fri, 29 Sep 2023 14:57:40 -0300 Subject: refa Move all descriptor sets to a new class * src/vk/descriptor_set_layout.hpp: Moving all descriptor sets in the same class makes it easier to identify code duplication. * src/vk/graphics_pipeline_2d_solid_layout.cpp, src/vk/graphics_pipeline_2d_wired_layout.cpp, src/vk/graphics_pipeline_3d_layout.cpp: Remove redundant descriptor set layouts. --- src/vk/view_3d.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vk/view_3d.cpp') diff --git a/src/vk/view_3d.cpp b/src/vk/view_3d.cpp index eb2421e..9040545 100644 --- a/src/vk/view_3d.cpp +++ b/src/vk/view_3d.cpp @@ -57,7 +57,7 @@ load_descriptor_sets_3d(void *obj) std::vector layouts( cg_core.vk_swapchain->images_count, - cg_core.vk_graphics_pipeline_3d_layout->descriptor_set_view); + cg_core.vk_descriptor_set_layout->view); VkDescriptorSetAllocateInfo alloc_info{}; alloc_info.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO; -- cgit v1.2.3