mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
tests: Add simple test for implicit cast to int.
This commit is contained in:
parent
4b5c7e3721
commit
e62bd1927e
Notes:
Alexandre Julliard
2024-02-15 23:59:05 +01:00
Approved-by: Zebediah Figura (@zfigura) Approved-by: Matteo Bruni (@Mystral) 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/608
@ -1,3 +1,19 @@
|
||||
[pixel shader todo(sm<4)]
|
||||
uniform float3 f;
|
||||
|
||||
float4 main() : sv_target
|
||||
{
|
||||
int3 r = f;
|
||||
|
||||
return float4(r, 0);
|
||||
}
|
||||
|
||||
[test]
|
||||
uniform 0 float4 10.3 11.5 12.8 13.1
|
||||
todo(sm<4) draw quad
|
||||
probe all rgba (10, 11, 12, 0)
|
||||
|
||||
|
||||
[pixel shader todo(sm<4)]
|
||||
uniform float f;
|
||||
uniform uint u;
|
||||
|
Loading…
Reference in New Issue
Block a user