summaryrefslogtreecommitdiff
path: root/source/slang/core.meta.slang
diff options
context:
space:
mode:
authorHarsh Aggarwal (NVIDIA) <haaggarwal@nvidia.com>2025-07-01 04:33:42 +0530
committerGitHub <noreply@github.com>2025-06-30 23:03:42 +0000
commit0f098b9d27a859add3d62d2e82b699341d5ce895 (patch)
tree66786d9a676331607403cb4c56bd49bfdc381ff4 /source/slang/core.meta.slang
parent46d0d97222d34374f45720cbdac1f823e42a4f0d (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/core.meta.slang')
-rw-r--r--source/slang/core.meta.slang2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/slang/core.meta.slang b/source/slang/core.meta.slang
index 2e56c1082..d33086320 100644
--- a/source/slang/core.meta.slang
+++ b/source/slang/core.meta.slang
@@ -4204,8 +4204,6 @@ attribute_syntax [__AlwaysFoldIntoUseSiteAttribute] : AlwaysFoldIntoUseSiteAttri
__attributeTarget(FunctionDeclBase)
attribute_syntax [noinline] : NoInlineAttribute;
-__attributeTarget(StructDecl)
-attribute_syntax [payload] : PayloadAttribute;
/// Mark a declaration as deprecated.
/// @param message The diagnostic message to show when the declaration is used.