mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
82720796d0
Signed-off-by: Francisco Casas <fcasas@codeweavers.com> Signed-off-by: Zebediah Figura <zfigura@codeweavers.com> Signed-off-by: Giovanni Mascellani <gmascellani@codeweavers.com> Signed-off-by: Matteo Bruni <mbruni@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
36 lines
478 B
Plaintext
36 lines
478 B
Plaintext
[pixel shader]
|
|
float4 main() : sv_target
|
|
{
|
|
int4 aa = {1, 2, 3, 4};
|
|
return aa;
|
|
}
|
|
|
|
[test]
|
|
draw quad
|
|
probe all rgba (1.0, 2.0, 3.0, 4.0) 4
|
|
|
|
|
|
[pixel shader]
|
|
float4 main() : sv_target
|
|
{
|
|
float4 aa = {1, 2, 3, 4};
|
|
return aa;
|
|
}
|
|
|
|
[test]
|
|
draw quad
|
|
probe all rgba (1.0, 2.0, 3.0, 4.0) 4
|
|
|
|
|
|
[pixel shader]
|
|
float4 main() : sv_target
|
|
{
|
|
float3 aa = {1, 2, 3};
|
|
float4 bb = {aa.x, aa.y, aa.z, 4.0};
|
|
return bb;
|
|
}
|
|
|
|
[test]
|
|
draw quad
|
|
probe all rgba (1.0, 2.0, 3.0, 4.0) 4
|