wgpu
wgpu copied to clipboard
Ray Queries
Connections Works towards #1040
Description This PR provides BLASes (bottom level acceleration structures), TLASes (top level acceleration structures), TLAS instances (which contain BLASes and data, like transforms, about them), TLAS packages (which contain vectors of TLAS instances).
Testing Running tests & examples included in PR
This a updated version of #3631 and is intended to replace it.
Checklist
- [x] Run
cargo fmt
. - [x] Run
cargo clippy
. If applicable, add:- n/a
--target wasm32-unknown-unknown
- n/a
--target wasm32-unknown-emscripten
- n/a
- [x] Run
cargo xtask test
to run tests. - [x] Add change to
CHANGELOG.md
. See simple instructions inside file. - [x] More tests & examples.
- [x] More docs
Later (follow-up PR)
- Acceleration structure compaction.
- Procedural geometry.
-
as_hal
methods