1 2uniform float f; 3uniform float2 f2; 4uniform float3 f3; 5 6bool test1(float v) 7{ 8 return !isnan(v) && isfinite(v); 9} 10 11float4 main() : SV_Target0 12{ 13 isfinite(f); 14 isfinite(f2); 15 isfinite(f3); 16 17 return 0; 18} 19