diff options
Diffstat (limited to 'testing/web-platform/mozilla/tests/webgpu/webgpu/shader/execution/expression/unary/f16_arithmetic.cache.js')
-rw-r--r-- | testing/web-platform/mozilla/tests/webgpu/webgpu/shader/execution/expression/unary/f16_arithmetic.cache.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/web-platform/mozilla/tests/webgpu/webgpu/shader/execution/expression/unary/f16_arithmetic.cache.js b/testing/web-platform/mozilla/tests/webgpu/webgpu/shader/execution/expression/unary/f16_arithmetic.cache.js new file mode 100644 index 0000000000..5c68b275cb --- /dev/null +++ b/testing/web-platform/mozilla/tests/webgpu/webgpu/shader/execution/expression/unary/f16_arithmetic.cache.js @@ -0,0 +1,13 @@ +/** +* AUTO-GENERATED - DO NOT EDIT. Source: https://github.com/gpuweb/cts +**/import { FP } from '../../../../util/floating_point.js';import { scalarF16Range } from '../../../../util/math.js';import { makeCaseCache } from '../case_cache.js'; + +export const d = makeCaseCache('unary/f16_arithmetic', { + negation: () => { + return FP.f16.generateScalarToIntervalCases( + scalarF16Range({ neg_norm: 250, neg_sub: 20, pos_sub: 20, pos_norm: 250 }), + 'unfiltered', + FP.f16.negationInterval + ); + } +});
\ No newline at end of file |