diff options
author | Frederico Linhares <fred@linhares.blue> | 2023-09-29 14:57:40 -0300 |
---|---|---|
committer | Frederico Linhares <fred@linhares.blue> | 2023-09-29 14:57:40 -0300 |
commit | b44c79e11ba574c74ae650e1430b1d173aacc910 (patch) | |
tree | dca509d3b2c07d6e36039cfd6b7102372d0fbba9 /src/vk/graphics_pipeline_2d_solid_layout.hpp | |
parent | fd4279d77fdc64a534a2bbc05b2f5d3852c765f7 (diff) |
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.
Diffstat (limited to 'src/vk/graphics_pipeline_2d_solid_layout.hpp')
-rw-r--r-- | src/vk/graphics_pipeline_2d_solid_layout.hpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/vk/graphics_pipeline_2d_solid_layout.hpp b/src/vk/graphics_pipeline_2d_solid_layout.hpp index b04d239..59a5c5e 100644 --- a/src/vk/graphics_pipeline_2d_solid_layout.hpp +++ b/src/vk/graphics_pipeline_2d_solid_layout.hpp @@ -1,5 +1,5 @@ /* - * Copyright 2022 Frederico de Oliveira Linhares + * Copyright 2022-2023 Frederico de Oliveira Linhares * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -24,8 +24,6 @@ namespace VK struct GraphicsPipeline2DSolidLayout { - VkDescriptorSetLayout descriptor_set_view; - VkDescriptorSetLayout descriptor_set_sprite; VkPipelineLayout pipeline; VkRenderPass render_pass; |