glslang/Test/hlsl.isfinite.frag
steve-lunarg 13975525d7 Decompose OpIsFinite to avoid capability restrictions
OpIsFinite is not available everywhere: decompose isfinite
to !isinf && !isnan.
2017-04-03 20:05:21 -06:00

10 lines
82 B
GLSL

uniform float f;
float4 main() : SV_Target0
{
isfinite(f);
return 0;
}