summaryrefslogtreecommitdiffstats
path: root/dom/webgpu/tests/cts/checkout/src/webgpu/api/validation/query_set/destroy.spec.ts
blob: 64b6f4f6062d3d541722f5aa6b4e44638f28e25c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
export const description = `
Destroying a query set more than once is allowed.
`;

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

export const g = makeTestGroup(ValidationTest);

g.test('twice').fn(async t => {
  const qset = t.device.createQuerySet({ type: 'occlusion', count: 1 });

  qset.destroy();
  qset.destroy();
});