2022-02-03 14:44:20 -08:00
|
|
|
[pixel shader]
|
|
|
|
float4 main() : sv_target
|
|
|
|
{
|
|
|
|
int4 aa = {1, 2, 3, 4};
|
|
|
|
return aa;
|
|
|
|
}
|
|
|
|
|
|
|
|
[test]
|
2022-04-14 03:52:34 -07:00
|
|
|
todo draw quad
|
2022-02-03 14:44:20 -08:00
|
|
|
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]
|
2022-04-14 03:52:34 -07:00
|
|
|
todo draw quad
|
2022-02-03 14:44:20 -08:00
|
|
|
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]
|
2022-04-14 03:52:34 -07:00
|
|
|
todo draw quad
|
2022-02-03 14:44:20 -08:00
|
|
|
probe all rgba (1.0, 2.0, 3.0, 4.0) 4
|
2022-02-07 22:52:15 -08:00
|
|
|
|
|
|
|
|
|
|
|
[pixel shader]
|
|
|
|
float4 main() : sv_target
|
|
|
|
{
|
|
|
|
float4 aa = { 1e1, 1e-1, 1., 2.f };
|
|
|
|
float4 bb = { .1, .1e1, .2f, 1.e-1f };
|
|
|
|
return aa + bb;
|
|
|
|
}
|
|
|
|
|
|
|
|
[test]
|
2022-04-14 03:52:34 -07:00
|
|
|
todo draw quad
|
2022-02-07 22:52:15 -08:00
|
|
|
probe all rgba (10.1, 1.1, 1.2, 2.1) 4
|