diff options
| author | Connor McLaughlin <stenzek@gmail.com> | 2019-04-20 12:56:02 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-04-20 12:56:02 +1000 |
| commit | c26f53bf84007bad8b6b89fae91e38f4cdb531bd (patch) | |
| tree | bcfcddc830ed956545e7df122f98ae215dc1bab2 /Source/Core/VideoBackends/Software/SWRenderer.cpp | |
| parent | 9e951819d5ddc2f68635dea9d5077676a9799c06 (diff) | |
| parent | 00b83b4196b060987f34cd55286aa4f55c02530d (diff) | |
Merge pull request #7999 from stenzek/pipeline-cache-data
Implement pipeline data cache for OpenGL and D3D12
Diffstat (limited to 'Source/Core/VideoBackends/Software/SWRenderer.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/Software/SWRenderer.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/Core/VideoBackends/Software/SWRenderer.cpp b/Source/Core/VideoBackends/Software/SWRenderer.cpp index 4b57b9b551..3893320c26 100644 --- a/Source/Core/VideoBackends/Software/SWRenderer.cpp +++ b/Source/Core/VideoBackends/Software/SWRenderer.cpp @@ -64,7 +64,6 @@ public: explicit SWShader(ShaderStage stage) : AbstractShader(stage) {} ~SWShader() = default; - bool HasBinary() const override { return false; } BinaryData GetBinary() const override { return {}; } }; @@ -87,7 +86,9 @@ public: ~SWPipeline() override = default; }; -std::unique_ptr<AbstractPipeline> SWRenderer::CreatePipeline(const AbstractPipelineConfig& config) +std::unique_ptr<AbstractPipeline> SWRenderer::CreatePipeline(const AbstractPipelineConfig& config, + const void* cache_data, + size_t cache_data_length) { return std::make_unique<SWPipeline>(); } |
