Class RequiredLimitsGPUTestSubcaseBatchState

Used by RequiredLimitsTest to request a device with all requested limits of the adapter.

Hierarchy

Constructors

Properties

params: TestParams

The case parameters for this test fixture shared state. Subcase params are not included.

Accessors

  • get isCompatibility(): boolean
  • Returns boolean

Methods

  • returns true iff the langFeature is supported

    Parameters

    • langFeature: "readonly_and_readwrite_storage_textures" | "packed_4x8_integer_dot_product" | "unrestricted_pointer_parameters" | "pointer_composite_access"

    Returns boolean

  • 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.

    Parameters

    Returns void

  • Skips test if the given interpolation type or sampling is not supported.

    Parameters

    • __namedParameters: {
          sampling?: "center" | "centroid" | "sample" | "first" | "either";
          type?: "flat" | "perspective" | "linear";
      }
      • Optional sampling?: "center" | "centroid" | "sample" | "first" | "either"
      • Optional type?: "flat" | "perspective" | "linear"

    Returns void

Generated using TypeDoc