• Runs the list of expression tests, possibly splitting the tests into multiple dispatches to keep the input data within the buffer binding limits. run() will pack the scalar test cases into smaller set of vectorized tests if cfg.vectorize is defined.

    Parameters

    • t: GPUTest

      the GPUTest

    • shaderBuilder: ShaderBuilder

      the shader builder function

    • parameterTypes: Type[]

      the list of expression parameter types

    • resultType: Type

      the return type for the expression overload

    • cfg: Config = ...

      test configuration values

    • cases: Case[]

      list of test cases

    • Optional batch_size: number

      override the calculated casesPerBatch.

    Returns Promise<void>

Generated using TypeDoc