mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
tests/shader-runner: Add an asuint() test to the 64-bit cast tests.
This commit is contained in:
parent
13ac795061
commit
254e812b12
Notes:
Alexandre Julliard
2024-02-01 23:07:09 +01:00
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/589
@ -19,6 +19,23 @@ todo(sm<6) draw quad
|
|||||||
probe all rgba (-4.5, 8.5, 2.0, 2.0)
|
probe all rgba (-4.5, 8.5, 2.0, 2.0)
|
||||||
|
|
||||||
|
|
||||||
|
[pixel shader todo]
|
||||||
|
uniform double2 d;
|
||||||
|
|
||||||
|
uint4 main() : sv_target
|
||||||
|
{
|
||||||
|
uint4 result;
|
||||||
|
asuint(d.x, result.x, result.y);
|
||||||
|
asuint(d.y, result.z, result.w);
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
[test]
|
||||||
|
uniform 0 double2 -4.5 8.500003814697266
|
||||||
|
todo draw quad
|
||||||
|
probe all rgbaui (0, 0xc0120000, 0x80000000, 0x40210000)
|
||||||
|
|
||||||
|
|
||||||
[require]
|
[require]
|
||||||
shader model >= 6.0
|
shader model >= 6.0
|
||||||
int64
|
int64
|
||||||
|
Loading…
Reference in New Issue
Block a user