vkd3d/tests/hlsl/half.shader_test
2024-11-20 14:40:10 +01:00

24 lines
282 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 (0, 0) rgba (10.0, 10.0, 10.0, 10.0)