]> git.tdb.fi Git - libs/gl.git/commitdiff
Remove unused parameter from VulkanPipelineState::synchronize_resources
authorMikko Rasa <tdb@tdb.fi>
Tue, 19 Apr 2022 07:14:25 +0000 (10:14 +0300)
committerMikko Rasa <tdb@tdb.fi>
Tue, 19 Apr 2022 07:14:25 +0000 (10:14 +0300)
It got left over from an idea which didn't pan out.

source/backends/vulkan/pipelinestate_backend.cpp
source/backends/vulkan/pipelinestate_backend.h

index 7af36eedf82ceadced50b3f576b103ceeff584f8..07af5a7b9ba47129142720eab8a251f3e6fee5b9 100644 (file)
@@ -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<const PipelineState *>(this);
 
index 175c291383b825bcd2e348dbebb00f129ede3da6..2195b2f38e6bff1014ba81630f9996bb219eaf6e 100644 (file)
@@ -41,7 +41,7 @@ protected:
        VkDescriptorSetLayout get_descriptor_set_layout(unsigned) const;
        unsigned fill_descriptor_writes(unsigned, unsigned, std::vector<char> &) const;
 
-       void synchronize_resources(bool) const;
+       void synchronize_resources() const;
        void apply(const VulkanCommandRecorder &, const VulkanPipelineState *, unsigned, bool) const;
 };