mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -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:
@ -13,9 +13,9 @@ namespace DX12
|
||||
class DXPipeline final : public AbstractPipeline
|
||||
{
|
||||
public:
|
||||
DXPipeline(ID3D12PipelineState* pipeline, ID3D12RootSignature* root_signature,
|
||||
AbstractPipelineUsage usage, D3D12_PRIMITIVE_TOPOLOGY primitive_topology,
|
||||
bool use_integer_rtv);
|
||||
DXPipeline(const AbstractPipelineConfig& config, ID3D12PipelineState* pipeline,
|
||||
ID3D12RootSignature* root_signature, AbstractPipelineUsage usage,
|
||||
D3D12_PRIMITIVE_TOPOLOGY primitive_topology, bool use_integer_rtv);
|
||||
~DXPipeline() override;
|
||||
|
||||
static std::unique_ptr<DXPipeline> Create(const AbstractPipelineConfig& config,
|
||||
|
Reference in New Issue
Block a user