2024-07-20 02:10:06 -07:00
|
|
|
[require]
|
|
|
|
shader model >= 5.0
|
|
|
|
shader model < 6.0
|
|
|
|
|
|
|
|
[effect]
|
|
|
|
DepthStencilState ds;
|
2024-08-05 08:33:21 -07:00
|
|
|
RasterizerState rs;
|
2024-08-05 11:32:24 -07:00
|
|
|
HullShader hs;
|
|
|
|
ComputeShader cs;
|
|
|
|
DomainShader doms;
|
2024-08-07 09:35:51 -07:00
|
|
|
RenderTargetView rtv1;
|
|
|
|
DepthStencilView dsv;
|
2024-08-14 04:46:34 -07:00
|
|
|
BlendState bs;
|
2024-07-20 02:10:06 -07:00
|
|
|
|
|
|
|
technique11
|
|
|
|
{
|
|
|
|
pass
|
|
|
|
{
|
|
|
|
SetDepthStencilState(ds, 123);
|
2024-08-05 08:33:21 -07:00
|
|
|
SetRasterizerState(rs);
|
2024-08-05 11:32:24 -07:00
|
|
|
SetHullShader(hs);
|
|
|
|
SetComputeShader(cs);
|
|
|
|
SetDomainShader(doms);
|
2024-08-07 09:35:51 -07:00
|
|
|
OMSetRenderTargets(rtv1, dsv);
|
2024-08-14 04:46:34 -07:00
|
|
|
SetBlendState(bs, float4(1, 2, 3, 4), 0xf);
|
2024-07-20 02:10:06 -07:00
|
|
|
}
|
|
|
|
}
|