blob: dec4ef285dee31766e547f381bb7737aa5afb0ea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
// d3d11-pipeline-state.h
#pragma once
#include "d3d11-base.h"
namespace gfx
{
using namespace Slang;
namespace d3d11
{
class PipelineStateImpl : public PipelineStateBase
{
public:
};
class GraphicsPipelineStateImpl : public PipelineStateImpl
{
public:
UINT m_rtvCount;
RefPtr<InputLayoutImpl> m_inputLayout;
ComPtr<ID3D11DepthStencilState> m_depthStencilState;
ComPtr<ID3D11RasterizerState> m_rasterizerState;
ComPtr<ID3D11BlendState> m_blendState;
float m_blendColor[4];
UINT m_sampleMask;
void init(const GraphicsPipelineStateDesc& inDesc);
};
class ComputePipelineStateImpl : public PipelineStateImpl
{
public:
void init(const ComputePipelineStateDesc& inDesc);
};
} // namespace d3d11
} // namespace gfx
|