GPUDevice: Use CompressHelpers
And compress the pipeline cache. Saves a fair bit of disk space.
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
// SPDX-FileCopyrightText: 2019-2024 Connor McLaughlin <stenzek@gmail.com>
|
||||
// SPDX-License-Identifier: (GPL-3.0 OR PolyForm-Strict-1.0.0)
|
||||
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
||||
|
||||
#pragma once
|
||||
|
||||
@ -190,7 +190,7 @@ protected:
|
||||
Error* error) override;
|
||||
void DestroyDevice() override;
|
||||
|
||||
bool ReadPipelineCache(const std::string& filename) override;
|
||||
bool ReadPipelineCache(std::optional<DynamicHeapArray<u8>> data) override;
|
||||
bool GetPipelineCacheData(DynamicHeapArray<u8>* data) override;
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user