vkd3d/tests/hlsl/effect-pass-states-fx_5.shader_test
Nikolay Sivov 873b182021 vkd3d-shader/fx: Support NULL constants for object fields.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2024-08-15 17:53:46 +02:00

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);
}
}