mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
VideoCommon: store the configuration used to create the AbstractPipeline on the pipeline itself, so that it's easy to duplicate pipelines with slightly altered configuration
This commit is contained in:
@ -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.
|
||||
|
Reference in New Issue
Block a user