summaryrefslogtreecommitdiffstats
path: root/dom/webgpu/tests/cts/checkout/src/webgpu/api/validation/buffer/threading.spec.ts
blob: b449b36d25653fbccfac3619ff8f4e958d6c7f4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
export const description = `
TODO:
- Try to map on one thread while {pending, mapped, mappedAtCreation, mappedAtCreation+unmap+mapped}
  on another thread.
- Invalid to postMessage a mapped range's ArrayBuffer or ArrayBufferView
  {with, without} it being in the transfer array.
- Copy GPUBuffer to another thread while {pending, mapped mappedAtCreation} on {same,diff} thread
  (valid), then try to map on that thread (invalid)
`;

import { makeTestGroup } from '../../../../common/framework/test_group.js';
import { ValidationTest } from '../validation_test.js';

export const g = makeTestGroup(ValidationTest);