From 41eb19e65a0974e23048bd7b3b1eb1e2f569b1d0 Mon Sep 17 00:00:00 2001 From: Yong He Date: Thu, 8 Dec 2022 14:56:20 -0800 Subject: Auto-diff for matrix operations. (#2559) Co-authored-by: Yong He --- source/slang/core.meta.slang | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'source/slang/core.meta.slang') 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] -- cgit v1.2.3