tests: Add another vector indexing test.

Signed-off-by: Giovanni Mascellani <gmascellani@codeweavers.com>
Signed-off-by: Francisco Casas <fcasas@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:
Giovanni Mascellani 2022-04-14 12:52:42 +02:00 committed by Alexandre Julliard
parent 564883a201
commit 16da0b3300

View File

@ -12,3 +12,16 @@ float4 main() : SV_TARGET
[test]
todo draw quad
probe all rgba (0.02, 0.245, 0.351, 1.0)
[pixel shader]
uniform float4 m;
float4 main() : SV_TARGET
{
return float4(m[0], m[1], m[1], m[2]);
}
[test]
uniform 0 float4 1.0 2.0 3.0 4.0
todo draw quad
probe all rgba (1.0, 2.0, 2.0, 3.0)