Runs GpuDepthSorter on a real WebGPU device against synthetic element
textures and checks its order against the CPU kernel the SortWorker runs
(wasm/typescript/depth-sort.ts), inside the page, so a 10M-element case
returns a summary rather than 40 MB of indices.
Exposes window.__gpuSortHarness.run(spec) and runSequence(specs). It fails closed without a
hardware adapter unless the URL carries ?allowFallbackAdapter.
GPU depth-sort harness (
/gpu-sort-harness.html).Runs GpuDepthSorter on a real WebGPU device against synthetic element textures and checks its order against the CPU kernel the SortWorker runs (
wasm/typescript/depth-sort.ts), inside the page, so a 10M-element case returns a summary rather than 40 MB of indices.Exposes
window.__gpuSortHarness.run(spec)andrunSequence(specs). It fails closed without a hardware adapter unless the URL carries?allowFallbackAdapter.