mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
tests: Do not use global half values.
They are not allowed by the native compiler, except in compatibility mode.
This commit is contained in:
committed by
Alexandre Julliard
parent
54239da200
commit
90f9407b80
Notes:
Alexandre Julliard
2023-10-18 22:51:21 +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/412
23
tests/hlsl/half.shader_test
Normal file
23
tests/hlsl/half.shader_test
Normal file
@@ -0,0 +1,23 @@
|
||||
[pixel shader fail(sm<6) todo]
|
||||
uniform half h;
|
||||
|
||||
float4 main() : sv_target
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
[require]
|
||||
options: backcompat
|
||||
|
||||
[pixel shader]
|
||||
uniform half h;
|
||||
|
||||
float4 main() : sv_target
|
||||
{
|
||||
return h;
|
||||
}
|
||||
|
||||
[test]
|
||||
uniform 0 float 10.0
|
||||
todo(sm>=6) draw quad
|
||||
probe all rgba (10.0, 10.0, 10.0, 10.0)
|
Reference in New Issue
Block a user