mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
tests: Test sqrt() intrinsic.
This commit is contained in:
parent
8d5f16d803
commit
7dbc879e2d
Notes:
Alexandre Julliard
2023-01-19 22:45:36 +01:00
Approved-by: Giovanni Mascellani (@giomasce) 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/62
@ -131,6 +131,7 @@ vkd3d_shader_tests = \
|
||||
tests/sampler-offset.shader_test \
|
||||
tests/saturate.shader_test \
|
||||
tests/shader-interstage-interface.shader_test \
|
||||
tests/sqrt.shader_test \
|
||||
tests/swizzle-0.shader_test \
|
||||
tests/swizzle-1.shader_test \
|
||||
tests/swizzle-2.shader_test \
|
||||
|
12
tests/sqrt.shader_test
Normal file
12
tests/sqrt.shader_test
Normal file
@ -0,0 +1,12 @@
|
||||
[pixel shader todo]
|
||||
uniform float4 f;
|
||||
|
||||
float4 main() : sv_target
|
||||
{
|
||||
return sqrt(f);
|
||||
}
|
||||
|
||||
[test]
|
||||
uniform 0 float4 1.0 9.0 32.3 46.5
|
||||
todo draw quad
|
||||
todo probe all rgba (1.0, 3.0, 5.683309, 6.819091) 1
|
Loading…
x
Reference in New Issue
Block a user