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