mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
5fb3a91276
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
29 lines
433 B
Plaintext
29 lines
433 B
Plaintext
[pixel shader todo(sm<4)]
|
|
float4 v;
|
|
|
|
float4 main() : sv_target
|
|
{
|
|
float4 ip;
|
|
return modf(v, ip);
|
|
}
|
|
|
|
[test]
|
|
uniform 0 float4 1.2 1.7 -1.2 -1.7
|
|
todo(sm<4) draw quad
|
|
probe (0, 0) rgba (0.2, 0.7, -0.2, -0.7) 4
|
|
|
|
[pixel shader todo(sm<4)]
|
|
float4 v;
|
|
|
|
float4 main() : sv_target
|
|
{
|
|
float4 ip;
|
|
modf(v, ip);
|
|
return ip;
|
|
}
|
|
|
|
[test]
|
|
uniform 0 float4 1.2 2.7 -1.2 -2.7
|
|
todo(sm<4) draw quad
|
|
probe (0, 0) rgba (1.0, 2.0, -1.0, -2.0)
|