Skip to content

Commit dd6235c

Browse files
committed
docs(engine): fit the software WebGPU note in three lines
1 parent 6afdbf6 commit dd6235c

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

‎packages/engine/src/services/browserManager.ts‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -877,9 +877,8 @@ type GpuConfig = Partial<
877877
>;
878878

879879
/**
880-
* Whether this launch renders WebGPU on SwiftShader: the composition needs WebGPU, the render opted in, and no GPU is
881-
* in use. SwiftShader can draw canvas WebGPU only through its Vulkan backend with GPU compositing on, and not at all
882-
* under --disable-gpu.
880+
* Whether this launch renders WebGPU on SwiftShader: the composition needs it, the render opted in, no GPU is in use.
881+
* SwiftShader draws canvas WebGPU only via Vulkan with GPU compositing on, and not at all under --disable-gpu.
883882
*/
884883
export function usesSoftwareWebGpu(
885884
requiresWebGpu: boolean | undefined,

0 commit comments

Comments
 (0)