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-emit-hlsl.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-emit-hlsl.cpp')
| -rw-r--r-- | source/slang/slang-emit-hlsl.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source/slang/slang-emit-hlsl.cpp b/source/slang/slang-emit-hlsl.cpp index b022a2db9..240b5c0cb 100644 --- a/source/slang/slang-emit-hlsl.cpp +++ b/source/slang/slang-emit-hlsl.cpp @@ -1692,10 +1692,6 @@ void HLSLSourceEmitter::_emitStageAccessSemantic( void HLSLSourceEmitter::emitPostKeywordTypeAttributesImpl(IRInst* inst) { - if (const auto payloadDecoration = inst->findDecoration<IRPayloadDecoration>()) - { - m_writer->emit("[payload] "); - } // Get the target profile to determine if PAQs are supported bool enablePAQs = false; |
