Merge pull request #11498 from iwubcode/save_pipeline_config

VideoCommon: store the configuration used to create the AbstractPipeline
This commit is contained in:
JMC47
2023-02-09 18:38:49 -05:00
committed by GitHub
12 changed files with 45 additions and 38 deletions

View File

@ -76,8 +76,11 @@ class AbstractPipeline
{
public:
AbstractPipeline() = default;
explicit AbstractPipeline(const AbstractPipelineConfig& config) : m_config(config) {}
virtual ~AbstractPipeline() = default;
AbstractPipelineConfig m_config;
// "Cache data" can be used to assist a driver with creating pipelines by using previously
// compiled shader ISA. The abstract shaders and creation struct are still required to create
// pipeline objects, the cache is optionally used by the driver to speed up compilation.