From 55ff4686e5685c414d82f16b9c1a4a331bd4f853 Mon Sep 17 00:00:00 2001 From: Jay Kwak <82421531+jkwak-work@users.noreply.github.com> Date: Thu, 9 Jan 2025 20:49:25 -0800 Subject: Support a storage class, NodePayloadAMDX, for SPIRV work-graphs (#6052) In order to unblock experiments with SPIRV work-graphs, Slang needs to support the storage class, `NodePayloadAMDX`. Note that this commit is only to support a storage class, `NodePayloadAMDX`. There are many parts required for work-graphs hasn't been implemented yet. The implementation of `DispatchNodeInputRecord` is not required, but it is implemented mostly for a testing purpose. Closes #6049 Co-authored-by: Yong He --- source/slang/core.meta.slang | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/slang/core.meta.slang') diff --git a/source/slang/core.meta.slang b/source/slang/core.meta.slang index f0324ba1a..ba8decc12 100644 --- a/source/slang/core.meta.slang +++ b/source/slang/core.meta.slang @@ -3965,3 +3965,7 @@ attribute_syntax [DerivativeGroupQuad] : DerivativeGroupQuadAttribute; /// effect on other targets. __attributeTarget(FuncDecl) attribute_syntax [DerivativeGroupLinear] : DerivativeGroupLinearAttribute; + +__generic +typealias NodePayloadPtr = Ptr; + -- cgit v1.2.3