steve-lunarg | 1397552 | 2017-04-03 20:05:21 -0600 | [diff] [blame] | 1 | |
steve-lunarg | 9e5a19f | 2017-04-10 08:27:34 -0600 | [diff] [blame] | 2 | uniform float f; |
3 | uniform float2 f2; | ||||
4 | uniform float3 f3; | ||||
5 | |||||
6 | bool test1(float v) | ||||
7 | { | ||||
8 | return !isnan(v) && isfinite(v); | ||||
9 | } | ||||
steve-lunarg | 1397552 | 2017-04-03 20:05:21 -0600 | [diff] [blame] | 10 | |
11 | float4 main() : SV_Target0 | ||||
12 | { | ||||
13 | isfinite(f); | ||||
steve-lunarg | 9e5a19f | 2017-04-10 08:27:34 -0600 | [diff] [blame] | 14 | isfinite(f2); |
15 | isfinite(f3); | ||||
steve-lunarg | 1397552 | 2017-04-03 20:05:21 -0600 | [diff] [blame] | 16 | |
17 | return 0; | ||||
18 | } |