mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
tests: Test integers with the 'u' postfix.
This commit is contained in:
parent
eb05e434ff
commit
3f09cdcaa1
Notes:
Alexandre Julliard
2023-11-22 22:49:11 +01:00
Approved-by: Zebediah Figura (@zfigura) Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/478
@ -46,3 +46,31 @@ float4 main() : sv_target
|
||||
[test]
|
||||
draw quad
|
||||
probe all rgba (10.1, 1.1, 1.2, 2.1) 4
|
||||
|
||||
|
||||
[pixel shader todo]
|
||||
float4 main() : sv_target
|
||||
{
|
||||
float4 aa = { 3U, 0xfau, 020u, -1u};
|
||||
return aa;
|
||||
}
|
||||
|
||||
[test]
|
||||
todo(sm<6) draw quad
|
||||
todo(sm<6) probe all rgba (3.0, 250.0, 16.0, 4.2949673e+009) 4
|
||||
|
||||
|
||||
[require]
|
||||
shader model < 6.0
|
||||
|
||||
[pixel shader todo]
|
||||
float4 main() : sv_target
|
||||
{
|
||||
// 3000000000 is -1294967296 when it doesn't have the 'u' suffix, except in SM6.
|
||||
float2 aa = {3000000000, 3000000000U};
|
||||
return float4(aa, 0.0, 0.0);
|
||||
}
|
||||
|
||||
[test]
|
||||
todo draw quad
|
||||
todo probe all rgba (-1294967296.0, 3000000000.0, 0.0, 0.0) 4
|
||||
|
Loading…
Reference in New Issue
Block a user