From: Mikko Rasa Date: Tue, 19 Apr 2022 07:14:25 +0000 (+0300) Subject: Remove unused parameter from VulkanPipelineState::synchronize_resources X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=d01902f355b1ea9a038a7f96cab37e49c6b65419;p=libs%2Fgl.git Remove unused parameter from VulkanPipelineState::synchronize_resources It got left over from an idea which didn't pan out. --- diff --git a/source/backends/vulkan/pipelinestate_backend.cpp b/source/backends/vulkan/pipelinestate_backend.cpp index 7af36eed..07af5a7b 100644 --- a/source/backends/vulkan/pipelinestate_backend.cpp +++ b/source/backends/vulkan/pipelinestate_backend.cpp @@ -433,7 +433,7 @@ unsigned VulkanPipelineState::fill_descriptor_writes(unsigned index, unsigned fr return n_writes; } -void VulkanPipelineState::synchronize_resources(bool discard_fb_contents) const +void VulkanPipelineState::synchronize_resources() const { const PipelineState &self = *static_cast(this); diff --git a/source/backends/vulkan/pipelinestate_backend.h b/source/backends/vulkan/pipelinestate_backend.h index 175c2913..2195b2f3 100644 --- a/source/backends/vulkan/pipelinestate_backend.h +++ b/source/backends/vulkan/pipelinestate_backend.h @@ -41,7 +41,7 @@ protected: VkDescriptorSetLayout get_descriptor_set_layout(unsigned) const; unsigned fill_descriptor_writes(unsigned, unsigned, std::vector &) const; - void synchronize_resources(bool) const; + void synchronize_resources() const; void apply(const VulkanCommandRecorder &, const VulkanPipelineState *, unsigned, bool) const; };