Skip to content

[OMM] Implement front end diagnostics for OMM, including on TraceRayInline, and add Availability Attributes #7156

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

Merged
merged 42 commits into from
Mar 14, 2025

Conversation

bob80905
Copy link
Collaborator

@bob80905 bob80905 commented Feb 24, 2025

This PR addresses the front end part of OMM, defining the new flags defined in the spec, and implementing the relevant diagnostics should the flags be incompatible. It also adds the second template argument to the RayQuery object, which is set to have a default value of 0 if no explicit template argument is provided.
Fixes #7145

@bob80905 bob80905 requested a review from a team as a code owner February 24, 2025 21:52
@bob80905 bob80905 requested review from tex3d and removed request for a team February 24, 2025 21:52
Copy link
Contributor

github-actions bot commented Feb 26, 2025

✅ With the latest revision this PR passed the C/C++ code formatter.

Copy link
Member

@damyanp damyanp left a comment

Choose a reason for hiding this comment

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

Couple of questions, but otherwise looks good to my untrained eye.

Copy link
Member

@damyanp damyanp left a comment

Choose a reason for hiding this comment

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

Looking good - a few style nits and I think I spotted a few places where there's some unwanted copies happening.

Copy link
Contributor

@tex3d tex3d left a comment

Choose a reason for hiding this comment

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

Partial review, see comments so far.

Copy link
Member

@damyanp damyanp left a comment

Choose a reason for hiding this comment

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

Approved, assuming the test failures are fixed and Tex is happy you've addressed his feedback.

@bob80905 bob80905 changed the title [OMM] Implement front end diagnostics for OMM, including on TraceRayInline [OMM] Implement front end diagnostics for OMM, including on TraceRayInline, and add Availability Attributes Mar 14, 2025
@bob80905 bob80905 merged commit 24dedfd into microsoft:main Mar 14, 2025
12 checks passed
@github-project-automation github-project-automation bot moved this from New to Done in HLSL Roadmap Mar 14, 2025
@damyanp damyanp moved this from Needs Review to Closed in HLSL Support Mar 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[OMM] Add OMM Feature Front end, with D3D12_RAY_FLAGS
3 participants