summaryrefslogtreecommitdiffstats
path: root/dom/webgpu/tests/cts/checkout/src/webgpu/api/operation/sampling/filter_mode.spec.ts
blob: cf1d7682e1027c294cae7d7cf9456eae3ea11447 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
export const description = `
Tests the behavior of different filtering modes in minFilter/magFilter/mipmapFilter.

TODO:
- Test exact sampling results with small tolerance. Tests should differentiate between different
  values for all three filter modes to make sure none are missed or incorrect in implementations.
- (Likely unnecessary with the above.) Test exactly the expected number of samples are used.
  Test this by setting up a rendering and asserting how many different shades result.
`;

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

export const g = makeTestGroup(GPUTest);