summaryrefslogtreecommitdiffstats
path: root/dom/webgpu/tests/cts/checkout/src/webgpu/shader/execution/expression/call/builtin/arrayLength.spec.ts
blob: 0b1c62c773684f05ed553e56a158f0095ffe930c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
export const description = `
Execution tests for the 'arrayLength' builtin function

fn arrayLength(e: ptr<storage,array<T>> ) -> u32
Returns the number of elements in the runtime-sized array.
`;

import { makeTestGroup } from '../../../../../../common/framework/test_group.js';
import { GPUTest } from '../../../../../gpu_test.js';

export const g = makeTestGroup(GPUTest);

g.test('array')
  .specURL('https://www.w3.org/TR/WGSL/#array-builtin-functions')
  .desc(`array length tests`)
  .unimplemented();