Open Bug 1969093 Opened 1 year ago Updated 1 year ago

Marching Cubes WebGPU sample shouldn't regenerate the pipeline on every frame

Categories

(Core :: Graphics: WebGPU, task, P1)

task

Tracking

()

People

(Reporter: jimb, Assigned: jimb)

References

(Blocks 1 open bug)

Details

The "Marching Cubes" WebGPU sample should not be calling create*Pipeline on every frame. We can cache DXC compilations (wgpu#7729) to avoid horrible performance, but official samples of good WebGPU usage should not behave this way.

The official sample code should be revised, or the sample should be removed from the official list.

You need to log in before you can comment on or make changes to this bug.