-
Notifications
You must be signed in to change notification settings - Fork 722
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
[SER] Patch 1: HitObject type lowering and SM 6.9 enablement #7097
base: main
Are you sure you want to change the base?
Conversation
@microsoft-github-policy-service agree company="NVIDIA" |
tools/clang/test/SemaHLSL/hlsl/objects/HitObject/hitobject-entry-errors.hlsl
Outdated
Show resolved
Hide resolved
tools/clang/test/SemaHLSL/hlsl/objects/HitObject/hitobject-in-buffer.hlsl
Outdated
Show resolved
Hide resolved
✅ With the latest revision this PR passed the C/C++ code formatter. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note, as per microsoft/hlsl-specs#378, ReorderThread
needs to be named MaybeReorderThread
.
tools/clang/test/SemaHLSL/hlsl/intrinsics/ser/reorder-unclaimed-pre-sm69.hlsl
Outdated
Show resolved
Hide resolved
tools/clang/test/SemaHLSL/hlsl/intrinsics/ser/reorder-unclaimed-pre-sm69.hlsl
Outdated
Show resolved
Hide resolved
Reduction of the complete SER implementation to just the HitObject type and its default constructor. Specification PR: microsoft/hlsl-specs#277
When specifying more than four stages in a PAQ, the SmallVector in the PayloadAccessAnnotation starts to allocate memory. That memory is never free'd. The hitobject-entry-errors accidentally triggered this: struct [raypayload] Payload { float elem - : write(caller,closesthit,anyhit,closesthit,miss) - : read(caller,closesthit,anyhit,closesthit,miss); + : write(caller,anyhit,closesthit,miss) + : read(caller,anyhit,closesthit,miss); };
…r codegen, use 'MOP_HitObject_MakeNop' as default ctor
HitObject-as-scalar remnants
…d remove" This reverts commit b028aaf.
…icFunctions / revert ULE shortcut for ::dx namespace
Right, |
Reduction of the complete SER implementation to just the HitObject type and its default constructor.
This has most of the infrastructure changes in DXC to support SER, eg static member functions for builtins, HitObject scalar type.
Specification PR: microsoft/hlsl-specs#277