mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-04 00:13:08 +00:00
vk_graphics_pipeline: Remove bindings member
Saves about 1KB from each pipeline
This commit is contained in:
parent
3b074f07e6
commit
8b231f53f9
@ -292,6 +292,7 @@ GraphicsPipeline::~GraphicsPipeline() = default;
|
|||||||
|
|
||||||
void GraphicsPipeline::BuildDescSetLayout() {
|
void GraphicsPipeline::BuildDescSetLayout() {
|
||||||
u32 binding{};
|
u32 binding{};
|
||||||
|
boost::container::small_vector<vk::DescriptorSetLayoutBinding, 32> bindings;
|
||||||
for (const auto* stage : stages) {
|
for (const auto* stage : stages) {
|
||||||
if (!stage) {
|
if (!stage) {
|
||||||
continue;
|
continue;
|
||||||
|
@ -100,7 +100,6 @@ private:
|
|||||||
std::array<const Shader::Info*, MaxShaderStages> stages{};
|
std::array<const Shader::Info*, MaxShaderStages> stages{};
|
||||||
GraphicsPipelineKey key;
|
GraphicsPipelineKey key;
|
||||||
bool uses_push_descriptors{};
|
bool uses_push_descriptors{};
|
||||||
boost::container::small_vector<vk::DescriptorSetLayoutBinding, 32> bindings;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace Vulkan
|
} // namespace Vulkan
|
||||||
|
Loading…
Reference in New Issue
Block a user