mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
65 lines
1.3 KiB
Plaintext
65 lines
1.3 KiB
Plaintext
[require]
|
|
point-size
|
|
|
|
[input layout]
|
|
0 r32g32-float position
|
|
|
|
[vb 0]
|
|
-0.5 0
|
|
0.5 0
|
|
|
|
[vertex shader]
|
|
float4 main(float4 pos : position) : sv_position
|
|
{
|
|
return pos;
|
|
}
|
|
|
|
[pixel shader]
|
|
float4 main() : sv_target
|
|
{
|
|
return float4(0, 1, 0, 1);
|
|
}
|
|
|
|
[test]
|
|
clear rtv 0 0 0 0 0
|
|
point-size 40.0 1.0 64.0
|
|
draw point list 2
|
|
|
|
probe (139, 240) rgba (0, 0, 0, 0)
|
|
probe (141, 240) rgba (0, 1, 0, 1)
|
|
probe (179, 240) rgba (0, 1, 0, 1)
|
|
probe (181, 240) rgba (0, 0, 0, 0)
|
|
|
|
probe (459, 240) rgba (0, 0, 0, 0)
|
|
probe (461, 240) rgba (0, 1, 0, 1)
|
|
probe (499, 240) rgba (0, 1, 0, 1)
|
|
probe (501, 240) rgba (0, 0, 0, 0)
|
|
|
|
clear rtv 0 0 0 0 0
|
|
point-size 40.0 1.0 20.0
|
|
draw point list 2
|
|
|
|
probe (149, 240) rgba (0, 0, 0, 0)
|
|
probe (151, 240) rgba (0, 1, 0, 1)
|
|
probe (169, 240) rgba (0, 1, 0, 1)
|
|
probe (171, 240) rgba (0, 0, 0, 0)
|
|
|
|
probe (469, 240) rgba (0, 0, 0, 0)
|
|
probe (471, 240) rgba (0, 1, 0, 1)
|
|
probe (489, 240) rgba (0, 1, 0, 1)
|
|
probe (491, 240) rgba (0, 0, 0, 0)
|
|
|
|
clear rtv 0 0 0 0 0
|
|
point-size 20.0 40.0 64.0
|
|
draw point list 2
|
|
|
|
probe (139, 240) rgba (0, 0, 0, 0)
|
|
probe (141, 240) rgba (0, 1, 0, 1)
|
|
probe (179, 240) rgba (0, 1, 0, 1)
|
|
probe (181, 240) rgba (0, 0, 0, 0)
|
|
|
|
probe (459, 240) rgba (0, 0, 0, 0)
|
|
probe (461, 240) rgba (0, 1, 0, 1)
|
|
probe (499, 240) rgba (0, 1, 0, 1)
|
|
probe (501, 240) rgba (0, 0, 0, 0)
|