vk_graphics_pipeline: Remove bindings member

Saves about 1KB from each pipeline
This commit is contained in:
IndecisiveTurtle 2024-09-15 22:40:59 +03:00
parent 3b074f07e6
commit 8b231f53f9
2 changed files with 1 additions and 1 deletions

View File

@ -292,6 +292,7 @@ GraphicsPipeline::~GraphicsPipeline() = default;
void GraphicsPipeline::BuildDescSetLayout() {
u32 binding{};
boost::container::small_vector<vk::DescriptorSetLayoutBinding, 32> bindings;
for (const auto* stage : stages) {
if (!stage) {
continue;

View File

@ -100,7 +100,6 @@ private:
std::array<const Shader::Info*, MaxShaderStages> stages{};
GraphicsPipelineKey key;
bool uses_push_descriptors{};
boost::container::small_vector<vk::DescriptorSetLayoutBinding, 32> bindings;
};
} // namespace Vulkan