Skip to content
This repository was archived by the owner on Oct 31, 2025. It is now read-only.

Add support for SPV_KHR_ray_tracing#563

Merged
eddyb merged 7 commits intomainfrom
ray-tracing-khr
Apr 16, 2021
Merged

Add support for SPV_KHR_ray_tracing#563
eddyb merged 7 commits intomainfrom
ray-tracing-khr

Conversation

@XAMPPRocky
Copy link
Member

@XAMPPRocky XAMPPRocky commented Mar 31, 2021

This PR adds initial support for ray tracing in Rust-GPU.

Currently the tests don't pass because I ran into some ICE's when testing OpTerminateRayKHR. Filed as #564

@XAMPPRocky
Copy link
Member Author

cc @hrydgard @repi

@repi
Copy link
Contributor

repi commented Mar 31, 2021

Cool!

@hrydgard
Copy link
Contributor

hrydgard commented Mar 31, 2021

Very cool!

To actually do real shading once we hit stuff with rays though, we need to be able to look up mesh data by mesh ID, which will likely end up requiring some of #450 or preferably #569 .

@XAMPPRocky XAMPPRocky force-pushed the ray-tracing-khr branch 2 times, most recently from 5fe8d7a to 7a4b997 Compare March 31, 2021 11:34
@XAMPPRocky XAMPPRocky force-pushed the ray-tracing-khr branch 2 times, most recently from 5747b73 to 04c3476 Compare March 31, 2021 13:37
@XAMPPRocky XAMPPRocky force-pushed the ray-tracing-khr branch 5 times, most recently from a567b5d to e11a269 Compare April 15, 2021 10:23
@XAMPPRocky XAMPPRocky force-pushed the ray-tracing-khr branch 3 times, most recently from d864cff to 82d8250 Compare April 15, 2021 13:01
@XAMPPRocky XAMPPRocky requested a review from khyperia April 15, 2021 13:26
Copy link
Contributor

@khyperia khyperia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, I'd also like a review from @eddyb

@XAMPPRocky
Copy link
Member Author

r? @eddyb

@XAMPPRocky XAMPPRocky requested a review from eddyb April 16, 2021 05:48
@eddyb eddyb enabled auto-merge (squash) April 16, 2021 07:53
@XAMPPRocky XAMPPRocky requested a review from eddyb April 16, 2021 10:43
@eddyb eddyb merged commit a42a9f2 into main Apr 16, 2021
@eddyb eddyb deleted the ray-tracing-khr branch April 16, 2021 13:59
XAMPPRocky added a commit that referenced this pull request May 3, 2021
* Add support for SPV_KHR_ray_tracing

* Update spirv_type_constraints.rs

* Update spirv_type_constraints.rs

* Update spirv_type_constraints.rs
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants