Readonly
paramsThe case parameters for this test fixture shared state. Subcase params are not included.
Some tests or cases need particular feature flags or limits to be enabled.
Call this function with a descriptor or feature name (or undefined
) to select a
GPUDevice with matching capabilities. If this isn't called, a default device is provided.
If the request isn't supported, throws a SkipTestCase exception to skip the entire test case.
Optional
descriptorModifier: DescriptorModifierUse skipIfDeviceDoesNotHaveFeature or similar. If you really need to test lack of a feature (for example tests under webgpu/api/validation/capability_checks) then use UniqueFeaturesAndLimitsGPUTest
Use skipIfDeviceDoesNotHaveFeature or skipIf(device.limits.maxXXX < requiredXXX) etc...
Skips test if the given interpolation type or sampling is not supported.
Optional
sampling?: "center" | "centroid" | "sample" | "first" | "either"Optional
type?: "flat" | "perspective" | "linear"Some tests need a second device which is different from the first. This requests a second device so it will be available during the test. If it is not called, no second device will be available. The second device will be created with the same features and limits as the first device.
Generated using TypeDoc
Used by AllFeaturesMaxLimitsGPUTest to request a device with all limits and features of the adapter.