summaryrefslogtreecommitdiffstats
path: root/dom/webgpu/tests/cts/checkout/src/webgpu/api/operation/buffers/threading.spec.ts
blob: b69404508d1ec1267bdb7cd5d61c929f9f9c44bb (plain)
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
export const description = `
Tests for valid operations with various client-side thread-shared state of GPUBuffers.

States to test:
- mapping pending
- mapped
- mapped at creation
- mapped at creation, then unmapped
- mapped at creation, then unmapped, then re-mapped
- destroyed

TODO: Look for more things to test.
`;

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

export const g = makeTestGroup(GPUTest);

g.test('serialize')
  .desc(
    `Copy a GPUBuffer to another thread while it is in various states on
{the sending thread, yet another thread}.`
  )
  .unimplemented();

g.test('destroyed')
  .desc(`Destroy on one thread while in various states in another thread.`)
  .unimplemented();