tests: Simplify "probe" directive syntax and parsing a bit.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Giovanni Mascellani <gmascellani@codeweavers.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura
2022-04-18 08:33:58 +02:00
committed by Alexandre Julliard
parent f187b48792
commit 367bd15ec5
7 changed files with 55 additions and 82 deletions

View File

@@ -23,6 +23,6 @@ float4 main(float tex : texcoord) : sv_target
[test]
todo draw quad
probe rect rgba ( 0, 0, 159, 480) (10.0, 35.0, 0.0, 0.0)
probe rect rgba (161, 0, 479, 480) (10.0, 38.0, 0.0, 0.0)
probe rect rgba (481, 0, 640, 480) ( 5.0, 10.0, 0.0, 0.0)
probe ( 0, 0, 159, 480) rgba (10.0, 35.0, 0.0, 0.0)
probe (161, 0, 479, 480) rgba (10.0, 38.0, 0.0, 0.0)
probe (481, 0, 640, 480) rgba ( 5.0, 10.0, 0.0, 0.0)