1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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();
|