diff options
Diffstat (limited to 'source/slang/slang-ast-val.cpp')
| -rw-r--r-- | source/slang/slang-ast-val.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/slang/slang-ast-val.cpp b/source/slang/slang-ast-val.cpp index 43bd99f19..96f0a1682 100644 --- a/source/slang/slang-ast-val.cpp +++ b/source/slang/slang-ast-val.cpp @@ -1435,6 +1435,10 @@ Val* TypeCastIntVal::tryFoldImpl( case BaseType::UInt8: resultValue = (uint8_t)resultValue; return true; + case BaseType::AddressSpace: + case BaseType::AccessQualifier: + case BaseType::MemoryScope: + return true; default: return false; } |
