mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
52 lines
664 B
Plaintext
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]);
|
||
|
}
|
||
|
}
|