LightCraft: An open-source non-destructive photo editor written by scratch in pure Rust
Issue #2936: gpu-pipeline.md says what is measured about the remaining kernel time
Ingmar Lübbe1ada7c2af04a
diff --git a/docs/gpu-pipeline.md b/docs/gpu-pipeline.mdindex ecf52603f..a6d78a4e1 100644--- a/docs/gpu-pipeline.md+++ b/docs/gpu-pipeline.md@@ -306,7 +306,7 @@ On Windows / DX12 the kernels cost more: FXC compiles each pipeline single-threa`create_compute_pipeline` (issue #471). Built one after another, the 27 took ~2.2 s on an Intel CoreUltra 7 165U iGPU (`app.gpu` 2.4 s median, up to 7 s on the first run after an install), so`ctx::build_kernels` shares them out to worker threads (issue #2936): ~1.05 s there (`app.gpu` 1.2 s),-now bounded by the largest kernel (`finish.wgsl`). wgpu's error scopes are per thread, so every worker+most likely the largest kernel (`finish.wgsl`) alone (not timed per kernel). wgpu's error scopes are per thread, so every workeropens its own; a refused kernel still means no GPU. The `gpu:` info log line gives the kernel countand build time.