diff options
Diffstat (limited to 'dom/webgpu/tests/cts/checkout/src/webgpu/constants.ts')
-rw-r--r-- | dom/webgpu/tests/cts/checkout/src/webgpu/constants.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dom/webgpu/tests/cts/checkout/src/webgpu/constants.ts b/dom/webgpu/tests/cts/checkout/src/webgpu/constants.ts index c7a28cb837..60cdd63674 100644 --- a/dom/webgpu/tests/cts/checkout/src/webgpu/constants.ts +++ b/dom/webgpu/tests/cts/checkout/src/webgpu/constants.ts @@ -60,3 +60,8 @@ export const GPUConst = { export const kMaxUnsignedLongValue = 4294967295; export const kMaxUnsignedLongLongValue = Number.MAX_SAFE_INTEGER; + +export const kInterpolationSampling = ['center', 'centroid', 'sample'] as const; +export const kInterpolationType = ['perspective', 'linear', 'flat'] as const; +export type InterpolationType = (typeof kInterpolationType)[number]; +export type InterpolationSampling = (typeof kInterpolationSampling)[number]; |