Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement as_hal for BLASes and TLASes #7303

Open
wants to merge 16 commits into
base: trunk
Choose a base branch
from
Open

Conversation

Vecvec
Copy link
Contributor

@Vecvec Vecvec commented Mar 8, 2025

Connections

Description
Adds as_hal functions, also allows the acceleration structures to be marked as built. This is mostly built to be a replacement to command_encoder_build_acceleration_structures_unsafe_tlas but I'm going to make a followup that does that.

Testing
None, no other as_hal api has testing, though it could be added if wanted.

Squash or Rebase?
Squash

Checklist

  • Run cargo fmt.
  • [n/a] Run taplo format.
  • Run cargo clippy. If applicable, add:
    • [n/a] --target wasm32-unknown-unknown
  • Run cargo xtask test to run tests.
  • If this contains user-facing changes, add a CHANGELOG.md entry.

# Conflicts:
#	wgpu-core/src/command/ray_tracing.rs
#	wgpu-core/src/resource.rs
#	wgpu/src/api/blas.rs
#	wgpu/src/api/tlas.rs
#	wgpu/src/backend/wgpu_core.rs
@Vecvec Vecvec requested a review from a team as a code owner March 8, 2025 19:07
@cwfitzgerald cwfitzgerald self-assigned this Mar 12, 2025
@Vecvec Vecvec mentioned this pull request Mar 15, 2025
26 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants