vkd3d/tests/hlsl/half.shader_test

24 lines
279 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
draw quad
probe all rgba (10.0, 10.0, 10.0, 10.0)