vkd3d/tests/hlsl/effect-assignments-fx_5.shader_test
Nikolay Sivov 849d4b3b2b tests: Add some tests for state value assignments.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2024-10-02 22:04:44 +02:00

52 lines
664 B
Plaintext

[require]
shader model >= 5.0
shader model < 6.0
[pixel shader]
float4 main() : sv_target
{
return 0;
}
uint stencil_refs[2];
technique11
{
pass
{
SetDepthStencilState(NULL, stencil_refs[10]);
}
}
[effect todo]
uint stencil_ref;
uint stencil_refs[2];
uint index;
technique11
{
pass
{
SetDepthStencilState(NULL, stencil_ref);
}
pass
{
SetDepthStencilState(NULL, stencil_refs[1]);
}
pass
{
SetDepthStencilState(NULL, stencil_refs[index]);
}
}
[effect fail todo]
uint stencil_refs[2];
technique11
{
pass
{
SetDepthStencilState(NULL, stencil_refs[10]);
}
}