wgblas
    Preparing search index...
    • Encodes and submits a single compute pass: sets the pipeline and bind group, dispatches workgroups, and optionally wraps the pass in GPU timestamp queries.

      Parameters

      • pipeline: GPUComputePipeline
      • bindGroup: GPUBindGroup
      • workgroups: number | { x: number; y: number; z?: number }

        workgroup count; number for 1D dispatch, {x, y} for 2D, {x, y, z} for 3D (z defaults to 1)

      Returns { commandEncoder: GPUCommandEncoder; ts: any }

      encoded commands and timestamp handle