-<!doctypehtml><html lang=en><head><meta charset=utf-8><meta content="width=device-width,initial-scale=1"name=viewport><link href=data:, rel=icon><link href="gallery.css?v=2"rel=stylesheet><title>Indexed depth · GPU + USL</title></head><body class=sample-page data-c-source=sources/indexed-depth.c data-usl-source=sources/indexed-depth.usl data-wgsl-source=sources/indexed-depth.wgsl><header class=sample-head><a class=back-link href=index.html><span>←</span> Sample index</a><div class=sample-heading><p>Render / index + depth</p><h1>Indexed depth</h1></div><div class=runtime-badge><i></i> WebGPU live</div></header><main class=sample-workbench><section class=stage aria-label="Live WebGPU output"><canvas id=canvas oncontextmenu=event.preventDefault()></canvas><div class=stage-meta><p>One indexed draw validates the depth texture, pipeline, attachment, and occlusion path.</p><div id=status>GPU: loading sample</div></div></section><section class=source-panel aria-labelledby=source-title><header class=source-head><div><p class=eyebrow>Artifact inspection</p><h2 id=source-title>Source path</h2></div><button class=copy-button type=button>Copy</button></header><div class=source-tabs aria-label="Source language"role=tablist><button aria-controls=source-code aria-selected=true data-source=c id=tab-c role=tab>GPU C</button> <button aria-controls=source-code aria-selected=false data-source=usl id=tab-usl role=tab>USL</button> <button aria-controls=source-code aria-selected=false data-source=wgsl id=tab-wgsl role=tab>Generated WGSL</button></div><pre aria-labelledby=tab-c id=source-code role=tabpanel tabindex=0><code>Loading source…</code></pre></section></main><script src="sample.js?v=2"defer></script><script src=gpu-indexed-depth-webgpu-usl.js async></script></body></html>
0 commit comments