diff options
| author | Jay Kwak <82421531+jkwak-work@users.noreply.github.com> | 2025-01-09 20:49:25 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-09 20:49:25 -0800 |
| commit | 55ff4686e5685c414d82f16b9c1a4a331bd4f853 (patch) | |
| tree | 3ac28ec249ad345417b04247ea2d17d03adbd9b1 /source/slang/slang-type-system-shared.h | |
| parent | fce63c2c550b8715e347a44b1d874f48157543d3 (diff) | |
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 <yonghe@outlook.com>
Diffstat (limited to 'source/slang/slang-type-system-shared.h')
| -rw-r--r-- | source/slang/slang-type-system-shared.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/slang/slang-type-system-shared.h b/source/slang/slang-type-system-shared.h index d11bc8cd3..583eb2216 100644 --- a/source/slang/slang-type-system-shared.h +++ b/source/slang/slang-type-system-shared.h @@ -110,6 +110,8 @@ enum class AddressSpace : uint64_t Image, // Represents a SPIR-V specialization constant SpecializationConstant, + // Corresponds to SPIR-V's SpvStorageClassNodePayloadAMDX, + NodePayloadAMDX, // Default address space for a user-defined pointer UserPointer = 0x100000001ULL, |
