diff options
Diffstat (limited to 'dom/webgpu/tests/cts/checkout/src/webgpu/shader/execution/expression/call/builtin/determinant.spec.ts')
-rw-r--r-- | dom/webgpu/tests/cts/checkout/src/webgpu/shader/execution/expression/call/builtin/determinant.spec.ts | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/dom/webgpu/tests/cts/checkout/src/webgpu/shader/execution/expression/call/builtin/determinant.spec.ts b/dom/webgpu/tests/cts/checkout/src/webgpu/shader/execution/expression/call/builtin/determinant.spec.ts new file mode 100644 index 0000000000..6ea24ceb6f --- /dev/null +++ b/dom/webgpu/tests/cts/checkout/src/webgpu/shader/execution/expression/call/builtin/determinant.spec.ts @@ -0,0 +1,32 @@ +export const description = ` +Execution tests for the 'determinant' builtin function + +T is AbstractFloat, f32, or f16 +@const determinant(e: matCxC<T> ) -> T +Returns the determinant of e. + +`; + +import { makeTestGroup } from '../../../../../../common/framework/test_group.js'; +import { GPUTest } from '../../../../../gpu_test.js'; +import { allInputSources } from '../../expression.js'; + +export const g = makeTestGroup(GPUTest); + +g.test('abstract_float') + .specURL('https://www.w3.org/TR/WGSL/#matrix-builtin-functions') + .desc(`abstract float tests`) + .params(u => u.combine('inputSource', allInputSources).combine('dimension', [2, 3, 4] as const)) + .unimplemented(); + +g.test('f32') + .specURL('https://www.w3.org/TR/WGSL/#matrix-builtin-functions') + .desc(`f32 tests`) + .params(u => u.combine('inputSource', allInputSources).combine('dimension', [2, 3, 4] as const)) + .unimplemented(); + +g.test('f16') + .specURL('https://www.w3.org/TR/WGSL/#matrix-builtin-functions') + .desc(`f16 tests`) + .params(u => u.combine('inputSource', allInputSources).combine('dimension', [2, 3, 4] as const)) + .unimplemented(); |