TestConfig: {
    blockAllFeatures: boolean;
    compatibility: boolean;
    enableDebugLogs: boolean;
    enforceDefaultLimits: boolean;
    forceFallbackAdapter: boolean;
    frameworkDebugLog?: ((msg) => void);
    logToWebSocket: boolean;
    maxSubcasesInFlight: number;
    noRaceWithRejectOnTimeout: boolean;
    subcasesBetweenAttemptingGC: number;
    testHeartbeatCallback: (() => void);
    unrollConstEvalLoops: boolean;
}

Type declaration

  • blockAllFeatures: boolean

    Block all features on the adapter

  • compatibility: boolean

    Whether or not we're running in compatibility mode.

  • enableDebugLogs: boolean

    Enable debug-level logs (normally logged via Fixture.debug()).

  • enforceDefaultLimits: boolean

    Enforce the default limits on the adapter

  • forceFallbackAdapter: boolean

    Whether or not to request a fallback adapter.

  • Optional frameworkDebugLog?: ((msg) => void)
      • (msg): void
      • Logger for debug messages from the test framework (that can't be captured in the logs of a test).

        Parameters

        • msg: string

        Returns void

  • logToWebSocket: boolean

    Whether to enable the logToWebSocket function used for out-of-band test logging.

  • maxSubcasesInFlight: number

    Maximum number of subcases in flight at once, within a case. Once this many are in flight, wait for a subcase to finish before starting the next one.

  • noRaceWithRejectOnTimeout: boolean
  • subcasesBetweenAttemptingGC: number

    Every subcasesBetweenAttemptingGC subcases, run attemptGarbageCollection(). Setting to Infinity disables this. Setting to 1 attempts GC every time (slow!).

  • testHeartbeatCallback: (() => void)
      • (): void
      • Returns void

  • unrollConstEvalLoops: boolean

    Controls the emission of loops in constant-evaluation shaders under 'webgpu:shader,execution,expression,*' FXC is extremely slow to compile shaders with loops unrolled, where as the MSL compiler is extremely slow to compile with loops rolled.

Generated using TypeDoc