commit | 13975525d7748580f17623cd66f8e8e9841d0b04 | [log] [tgz] |
---|---|---|
author | steve-lunarg <steve_gh@khasekhemwy.net> | Mon Apr 03 20:05:21 2017 -0600 |
committer | steve-lunarg <steve_gh@khasekhemwy.net> | Mon Apr 03 20:05:21 2017 -0600 |
tree | 855fb796c4843646b04b90608ccc0907c13ba45c | |
parent | b68b9a8b23a953d9ade22a0216dcfa78391cf489 [diff] [blame] |
Decompose OpIsFinite to avoid capability restrictions OpIsFinite is not available everywhere: decompose isfinite to !isinf && !isnan.
diff --git a/Test/hlsl.isfinite.frag b/Test/hlsl.isfinite.frag new file mode 100644 index 0000000..a788bed --- /dev/null +++ b/Test/hlsl.isfinite.frag
@@ -0,0 +1,9 @@ + +uniform float f; + +float4 main() : SV_Target0 +{ + isfinite(f); + + return 0; +}