diff options
| author | Harsh Aggarwal (NVIDIA) <haaggarwal@nvidia.com> | 2025-07-01 04:33:42 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-30 23:03:42 +0000 |
| commit | 0f098b9d27a859add3d62d2e82b699341d5ce895 (patch) | |
| tree | 66786d9a676331607403cb4c56bd49bfdc381ff4 /source/slang/slang-lower-to-ir.cpp | |
| parent | 46d0d97222d34374f45720cbdac1f823e42a4f0d (diff) | |
Remove redundant [payload] attribute (Fix #7528) (#7555)
Removes the PayloadAttribute class and related infrastructure that was made redundant by PR #6595, which added ray payload access qualifiers (PAQs) per the DXR spec. The new [raypayload] attribute with access qualifiers provides the same functionality.
Changes:
- Remove PayloadAttribute class from slang-ast-modifier.h
- Remove [payload] attribute syntax from core.meta.slang
- Remove PayloadDecoration IR instruction and related processing
- Remove HLSL emission of [payload] attribute
- Remove IR lowering support for old PayloadAttribute
The new [raypayload] attribute with PAQ support remains unchanged.
Diffstat (limited to 'source/slang/slang-lower-to-ir.cpp')
| -rw-r--r-- | source/slang/slang-lower-to-ir.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source/slang/slang-lower-to-ir.cpp b/source/slang/slang-lower-to-ir.cpp index 8e13a3dc5..42a71764c 100644 --- a/source/slang/slang-lower-to-ir.cpp +++ b/source/slang/slang-lower-to-ir.cpp @@ -9628,10 +9628,6 @@ struct DeclLoweringVisitor : DeclVisitor<DeclLoweringVisitor, LoweredValInfo> addNameHint(context, irAggType, decl); addLinkageDecoration(context, irAggType, decl); - if (const auto payloadAttribute = decl->findModifier<PayloadAttribute>()) - { - subBuilder->addDecoration(irAggType, kIROp_PayloadDecoration); - } if (const auto rayPayloadAttribute = decl->findModifier<RayPayloadAttribute>()) { |
