mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
873b182021
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
44 lines
933 B
Plaintext
44 lines
933 B
Plaintext
[require]
|
|
shader model >= 5.0
|
|
shader model < 6.0
|
|
|
|
[effect]
|
|
DepthStencilState ds;
|
|
RasterizerState rs;
|
|
HullShader hs;
|
|
ComputeShader cs;
|
|
DomainShader doms;
|
|
RenderTargetView rtv1;
|
|
DepthStencilView dsv;
|
|
BlendState bs;
|
|
VertexShader vs;
|
|
PixelShader ps;
|
|
|
|
technique11
|
|
{
|
|
pass
|
|
{
|
|
SetDepthStencilState(ds, 123);
|
|
SetRasterizerState(rs);
|
|
SetHullShader(hs);
|
|
SetComputeShader(cs);
|
|
SetDomainShader(doms);
|
|
OMSetRenderTargets(rtv1, dsv);
|
|
SetBlendState(bs, float4(1, 2, 3, 4), 0xf);
|
|
SetVertexShader(vs);
|
|
SetPixelShader(ps);
|
|
}
|
|
pass
|
|
{
|
|
SetDepthStencilState(NULL, 4);
|
|
SetRasterizerState(NULL);
|
|
SetHullShader(NULL);
|
|
SetComputeShader(NULL);
|
|
SetDomainShader(NULL);
|
|
OMSetRenderTargets(NULL, NULL);
|
|
SetBlendState(NULL, float4(5, 6, 7, 8), 0xf0);
|
|
SetVertexShader(NULL);
|
|
SetPixelShader(NULL);
|
|
}
|
|
}
|