Skip to content

[spv-out] ray tracing pipelines#9085

Open
Vecvec wants to merge 18 commits intogfx-rs:trunkfrom
Vecvec:spv-ray-tracing-pipelines
Open

[spv-out] ray tracing pipelines#9085
Vecvec wants to merge 18 commits intogfx-rs:trunkfrom
Vecvec:spv-ray-tracing-pipelines

Conversation

@Vecvec
Copy link
Copy Markdown
Contributor

@Vecvec Vecvec commented Feb 20, 2026

Connections
Part of #6760

Description
This adds support for ray tracing pipelines to spirv-out, as well as extracting things useful to the both ray queries and ray tracing pipelines to ray.rs. The validation this includes is just what is already in ray queries (now extracted to a separate function), there is no recursion validation yet.

Testing
Snapshot tests

Squash or Rebase?
Squash

Checklist

  • Run cargo fmt.
  • Run cargo clippy --tests.
  • Run cargo xtask test to run tests.
  • If this contains user-facing changes, add a CHANGELOG.md entry.

@Vecvec Vecvec force-pushed the spv-ray-tracing-pipelines branch from 09165f0 to 866acc3 Compare February 21, 2026 19:40
@inner-daemons inner-daemons self-requested a review February 21, 2026 20:35
@Vecvec Vecvec force-pushed the spv-ray-tracing-pipelines branch from 866acc3 to ce5f133 Compare February 23, 2026 04:59
@jimblandy jimblandy self-assigned this Feb 25, 2026
@Vecvec Vecvec force-pushed the spv-ray-tracing-pipelines branch 3 times, most recently from cbe3175 to 6285067 Compare March 2, 2026 20:46
@Vecvec Vecvec force-pushed the spv-ray-tracing-pipelines branch 2 times, most recently from 2369bd9 to dcbda19 Compare March 10, 2026 04:29
Copy link
Copy Markdown
Collaborator

@inner-daemons inner-daemons left a comment

Choose a reason for hiding this comment

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

Some nits, plus questions. Very exciting stuff overall, glad to see progress!

crate::ShaderStage::Miss => {
self.require_any("ray tracing pipelines", &[spirv::Capability::RayTracingKHR])?;
spirv::ExecutionModel::MissKHR
}
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Is there a tracking issue for CallableKHR?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Not yet, at some point I need to split up the main ray tracing issue.

@Vecvec Vecvec force-pushed the spv-ray-tracing-pipelines branch 5 times, most recently from 4d6e37e to a8c005f Compare March 17, 2026 05:18
@Vecvec Vecvec force-pushed the spv-ray-tracing-pipelines branch 3 times, most recently from 41578a2 to ce2fa89 Compare March 23, 2026 20:50
@Vecvec Vecvec force-pushed the spv-ray-tracing-pipelines branch from ce2fa89 to d6bc32c Compare March 28, 2026 20:18
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.

3 participants