The TRACE-stage BLAS descent now threads the payload through, runs the any-hit shader for non-opaque candidates (DXR/VK opacity resolution: ray FORCE flags > instance FORCE flags > geometry opaque bit), and handles AABB leaves via the intersection shader. MeshRecord grows to 64 bytes with geomType + opaque. When any-hit/intersection are present the TRACE pipeline takes the user bind-group layout so those shaders can sample @group(3+) resources; otherwise TRACE keeps its zero-user-code path unchanged. rayQuery stays triangle-only (skips AABB leaves). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| dom-env.js | ||
| dom-webgpu.js | ||