mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
23 lines
397 B
Plaintext
23 lines
397 B
Plaintext
|
[pixel shader todo]
|
||
|
uniform float4 x;
|
||
|
|
||
|
float4 main() : sv_target
|
||
|
{
|
||
|
clip(x);
|
||
|
return x;
|
||
|
}
|
||
|
|
||
|
[test]
|
||
|
uniform 0 float4 1 2 3 4
|
||
|
todo draw quad
|
||
|
todo probe all rgba (1, 2, 3, 4)
|
||
|
uniform 0 float4 9 8 7 6
|
||
|
todo draw quad
|
||
|
todo probe all rgba (9, 8, 7, 6)
|
||
|
uniform 0 float4 -1 8 7 6
|
||
|
todo draw quad
|
||
|
todo probe all rgba (9, 8, 7, 6)
|
||
|
uniform 0 float4 9 0 7 6
|
||
|
todo draw quad
|
||
|
todo probe all rgba (9, 0, 7, 6)
|