diff options
| author | Yong He <yonghe@outlook.com> | 2022-12-08 14:56:20 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-08 14:56:20 -0800 |
| commit | 41eb19e65a0974e23048bd7b3b1eb1e2f569b1d0 (patch) | |
| tree | c6cde57da4d3415d86d09213936a48d3d26e07e1 /source/slang/core.meta.slang | |
| parent | 468bb7ecf65c000c308adae511bf65a1ca4cc412 (diff) | |
Auto-diff for matrix operations. (#2559)
Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'source/slang/core.meta.slang')
| -rw-r--r-- | source/slang/core.meta.slang | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source/slang/core.meta.slang b/source/slang/core.meta.slang index ed80b3730..edb98b3c2 100644 --- a/source/slang/core.meta.slang +++ b/source/slang/core.meta.slang @@ -93,7 +93,11 @@ interface __BuiltinArithmeticType : __BuiltinType /// A type that can be used for logical/bitwise operations [sealed] [builtin] -interface __BuiltinLogicalType : __BuiltinType {} +interface __BuiltinLogicalType : __BuiltinType +{ + /// Initialize from a 32-bit signed integer value. + __init(int value); +} /// A type that logically has a sign (positive/negative/zero) [sealed] |
