mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-01-28 13:05:02 -08:00
tests: Test int absolute value.
This commit is contained in:
parent
5442f4236c
commit
ef4990d996
Notes:
Alexandre Julliard
2022-10-18 00:13:00 +02:00
Approved-by: Zebediah Figura (@zfigura) Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/28
@ -27,3 +27,16 @@ float4 main() : SV_TARGET
|
||||
uniform 0 float4 5.0 16.0 0.0 0.0
|
||||
todo draw quad
|
||||
probe all rgba (5.0, 5.0, -5.0, 3.0)
|
||||
|
||||
[pixel shader]
|
||||
uniform float4 a;
|
||||
|
||||
float4 main() : SV_TARGET
|
||||
{
|
||||
return abs(int4(a));
|
||||
}
|
||||
|
||||
[test]
|
||||
uniform 0 float4 5.0 -7.0 0.0 -10.0
|
||||
todo draw quad
|
||||
probe all rgba (5.0, 7.0, 0.0, 10.0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user