summaryrefslogtreecommitdiffstats
path: root/dom/webgpu/tests/cts/checkout/src/webgpu/api/operation/command_buffer/render/dynamic_state.spec.ts
blob: d342fb6a463ab09c7d819aac83812a66a4d6423f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
export const description = `
Tests of the behavior of the viewport/scissor/blend/reference states.

TODO:
- {viewport, scissor rect, blend color, stencil reference}:
  Test rendering result with {various values}.
    - Set the state in different ways to make sure it gets the correct value in the end: {
        - state unset (= default)
        - state explicitly set once to {default value, another value}
        - persistence: [set, draw, draw] (fn should differentiate from [set, draw] + [draw])
        - overwriting: [set(1), draw, set(2), draw] (fn should differentiate from [set(1), set(2), draw, draw])
        - overwriting: [set(1), set(2), draw] (fn should differentiate from [set(1), draw] but not [set(2), draw])
        - }
`;

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

export const g = makeTestGroup(GPUTest);