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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
export const description = `
Execution tests for the 'transpose' builtin function
T is AbstractFloat, f32, or f16
@const transpose(e: matRxC<T> ) -> matCxR<T>
Returns the transpose 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('rows', [2, 3, 4] as const)
.combine('cols', [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('rows', [2, 3, 4] as const)
.combine('cols', [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('rows', [2, 3, 4] as const)
.combine('cols', [2, 3, 4] as const)
)
.unimplemented();
|