vkd3d/tests/hlsl/half.shader_test
Giovanni Mascellani 90f9407b80 tests: Do not use global half values.
They are not allowed by the native compiler, except in compatibility
mode.
2023-10-18 20:58:14 +02:00

24 lines
291 B
Plaintext

[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)