Skip to content

[SER] HitObject_MakeNop|Miss DXIL opcodes and verification tests #7201

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 1 commit into from
Mar 25, 2025

Conversation

simoll
Copy link
Contributor

@simoll simoll commented Mar 13, 2025

  • DXIL opcodes for HitObject_MakeNop and HitObject_MakeMiss
  • DXV validation test

Copy link
Collaborator

@bob80905 bob80905 left a comment

Choose a reason for hiding this comment

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

LGTM. Any validation rules could be added separately.

@damyanp
Copy link
Member

damyanp commented Mar 14, 2025

LGTM. Any validation rules could be added separately.

@bob80905 - are there validation rules that need adding? If so, can we make sure that there are issues tracking adding them please, @simoll?

@bob80905
Copy link
Collaborator

LGTM. Any validation rules could be added separately.

@bob80905 - are there validation rules that need adding? If so, can we make sure that there are issues tracking adding them please, @simoll?

From looking at the spec, I noticed this:

HitObject cannot be stored in memory buffers, in groupshared memory, in ray payloads, or in intersection attributes. 

I think this should be a validation rule, though I could see it being much more efficient to add all the hit object variants first, then one PR to add the validation rule and test them all. So that doesn't have to be added here.

@simoll
Copy link
Contributor Author

simoll commented Mar 17, 2025

LGTM. Any validation rules could be added separately.

@bob80905 - are there validation rules that need adding? If so, can we make sure that there are issues tracking adding them please, @simoll?

There is a checkbox specifically for validation tests for these opcodes in the SER umbrella bug #7214 now.

@simoll simoll mentioned this pull request Mar 17, 2025
41 tasks
@simoll
Copy link
Contributor Author

simoll commented Mar 20, 2025

LGTM. Any validation rules could be added separately.

@bob80905 - are there validation rules that need adding? If so, can we make sure that there are issues tracking adding them please, @simoll?

From looking at the spec, I noticed this:

HitObject cannot be stored in memory buffers, in groupshared memory, in ray payloads, or in intersection attributes. 

I think this should be a validation rule, though I could see it being much more efficient to add all the hit object variants first, then one PR to add the validation rule and test them all. So that doesn't have to be added here.

Added an explicit issue to track HitObject validation / diagnostics for unsupported uses: #7234

@simoll
Copy link
Contributor Author

simoll commented Mar 20, 2025

@tex3d @bob80905 - is this one good to merge? No planned changes from my side at this point.

Copy link
Collaborator

@bogner bogner left a comment

Choose a reason for hiding this comment

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

LGTM

@simoll simoll force-pushed the ser_dxilmake_patch branch from 23f1cba to d8ebd34 Compare March 24, 2025 07:43
@tex3d tex3d merged commit 7269298 into microsoft:main Mar 25, 2025
12 checks passed
@github-project-automation github-project-automation bot moved this from New to Done in HLSL Roadmap Mar 25, 2025
@simoll simoll deleted the ser_dxilmake_patch branch March 26, 2025 12:02
@damyanp damyanp moved this to Closed in HLSL Support Mar 26, 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.

6 participants