diff options
Diffstat (limited to 'source/slang/slang-ir-constexpr.cpp')
| -rw-r--r-- | source/slang/slang-ir-constexpr.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/slang/slang-ir-constexpr.cpp b/source/slang/slang-ir-constexpr.cpp index 620c65d4e..0bdbe260a 100644 --- a/source/slang/slang-ir-constexpr.cpp +++ b/source/slang/slang-ir-constexpr.cpp @@ -129,7 +129,7 @@ bool opCanBeConstExpr(IROp op) case kIROp_MakeUInt64: case kIROp_MakeArray: case kIROp_MakeArrayFromElement: - case kIROp_swizzle: + case kIROp_Swizzle: case kIROp_GetElement: case kIROp_FieldExtract: case kIROp_UpdateElement: @@ -142,7 +142,7 @@ bool opCanBeConstExpr(IROp op) case kIROp_GetOptionalValue: case kIROp_DifferentialPairGetDifferential: case kIROp_DifferentialPairGetPrimal: - case kIROp_LookupWitness: + case kIROp_LookupWitnessMethod: case kIROp_Specialize: // TODO: more cases return true; |
