(start: number)
| 107 | } |
| 108 | |
| 109 | function createEmptyTiming(start: number): WebGPURenderTiming { |
| 110 | return { |
| 111 | resizeMs: 0, |
| 112 | textureSetupMs: 0, |
| 113 | uploadMs: 0, |
| 114 | drawMs: 0, |
| 115 | totalMs: performance.now() - start, |
| 116 | }; |
| 117 | } |
| 118 | |
| 119 | async function requestWebGPUAdapter( |
| 120 | powerPreference: GPUPowerPreference = "high-performance", |
no outgoing calls
no test coverage detected