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

Add support for SPV_KHR_ray_query #572

Merged
merged 1 commit into from
Apr 27, 2021
Merged

Add support for SPV_KHR_ray_query #572

merged 1 commit into from
Apr 27, 2021

Conversation

XAMPPRocky
Copy link
Member

@XAMPPRocky XAMPPRocky commented Mar 31, 2021

This PR adds initial support for SPV_KHR_ray_query in rust-gpu. The only current exception is OpRayQueryGetIntersectionObjectToWorldKHR and OpRayQueryGetIntersectionWorldToObjectKHR, because we don't have a Matrix trait yet, and I wanted to think about how that would work more.

Depends on #563 since it needs AccelerationStructure for some functions.

cc @hrydgard @repi

@XAMPPRocky XAMPPRocky force-pushed the ray-query-khr branch 7 times, most recently from 68e1cfe to bc58064 Compare April 1, 2021 11:15
@XAMPPRocky XAMPPRocky force-pushed the ray-query-khr branch 15 times, most recently from e3e96f2 to 6318675 Compare April 16, 2021 05:56
@XAMPPRocky XAMPPRocky force-pushed the ray-query-khr branch 3 times, most recently from b86d1e9 to 8402531 Compare April 20, 2021 07:44
crates/rustc_codegen_spirv/src/codegen_cx/entry.rs Outdated Show resolved Hide resolved
crates/rustc_codegen_spirv/src/spirv_type_constraints.rs Outdated Show resolved Hide resolved
crates/spirv-std/src/ray_tracing.rs Outdated Show resolved Hide resolved
crates/spirv-std/src/ray_tracing.rs Outdated Show resolved Hide resolved
crates/spirv-std/src/ray_tracing.rs Outdated Show resolved Hide resolved
crates/spirv-std/src/ray_tracing.rs Outdated Show resolved Hide resolved
crates/spirv-std/src/ray_tracing.rs Outdated Show resolved Hide resolved
crates/spirv-std/src/ray_tracing.rs Outdated Show resolved Hide resolved
@eddyb eddyb enabled auto-merge (rebase) April 27, 2021 12:24
@eddyb eddyb merged commit 18ba6f3 into main Apr 27, 2021
@eddyb eddyb deleted the ray-query-khr branch April 27, 2021 13:07
@khyperia khyperia removed their request for review May 31, 2021 09:26
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