diff options
| author | Yong He <yonghe@outlook.com> | 2024-12-18 11:33:55 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-18 11:33:55 -0800 |
| commit | ae04e604d43d169bcba7f24c8c23a0fdf4cbb483 (patch) | |
| tree | 899c872ec5cc5c6ccc27930ef6971a0baf018569 /source/slang/slang-type-system-shared.h | |
| parent | 41c627fd420a644f0ae86e36f4752e820e2d683c (diff) | |
Allow `Optional`, `Tuple` and `bool` to be used in varying input/output. (#5889)
* Allow `Optional` and `Tuple` to be used in varying input/output.
* Fix.
* format code
* Fix.
* Fix test.
* Fix.
* enhance test.
* Fix.
* format code
---------
Co-authored-by: slangbot <186143334+slangbot@users.noreply.github.com>
Diffstat (limited to 'source/slang/slang-type-system-shared.h')
| -rw-r--r-- | source/slang/slang-type-system-shared.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/slang/slang-type-system-shared.h b/source/slang/slang-type-system-shared.h index 73370a4e6..f80267d2b 100644 --- a/source/slang/slang-type-system-shared.h +++ b/source/slang/slang-type-system-shared.h @@ -74,8 +74,12 @@ enum class AddressSpace : uint64_t MetalObjectData, // Corresponds to SPIR-V's SpvStorageClassInput Input, + // Same as `Input`, but used for builtin input variables. + BuiltinInput, // Corresponds to SPIR-V's SpvStorageClassOutput Output, + // Same as `Output`, but used for builtin output variables. + BuiltinOutput, // Corresponds to SPIR-V's SpvStorageClassTaskPayloadWorkgroupEXT TaskPayloadWorkgroup, // Corresponds to SPIR-V's SpvStorageClassFunction |
