2017-04-08 06:11:36 +03:00
|
|
|
|
2017-04-15 07:17:34 +03:00
|
|
|
uniform float f;
|
|
|
|
uniform float2 f2;
|
|
|
|
uniform float3 f3;
|
|
|
|
|
|
|
|
bool test1(float v)
|
|
|
|
{
|
|
|
|
return !isnan(v) && isfinite(v);
|
|
|
|
}
|
2017-04-08 06:11:36 +03:00
|
|
|
|
|
|
|
float4 main() : SV_Target0
|
|
|
|
{
|
|
|
|
isfinite(f);
|
2017-04-15 07:17:34 +03:00
|
|
|
isfinite(f2);
|
|
|
|
isfinite(f3);
|
2017-04-08 06:11:36 +03:00
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|