aboutsummaryrefslogtreecommitdiff
path: root/src/checker.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2021-06-08 14:23:44 +0100
committergingerBill <bill@gingerbill.org>2021-06-08 14:23:44 +0100
commit8e62f9c83c4834c795e0a074084974b6e4b342be (patch)
tree3d7c0eaff76dff9b91f587bbf29e089b0dc27983 /src/checker.cpp
parent696f758435ec4889b3eab9dcb6f4cf33891c5efe (diff)
Correct `is_operand_value` for Swizzle addressing modes
Diffstat (limited to 'src/checker.cpp')
-rw-r--r--src/checker.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/checker.cpp b/src/checker.cpp
index 3f36b024c..d22774254 100644
--- a/src/checker.cpp
+++ b/src/checker.cpp
@@ -14,6 +14,8 @@ bool is_operand_value(Operand o) {
case Addressing_MapIndex:
case Addressing_OptionalOk:
case Addressing_SoaVariable:
+ case Addressing_SwizzleValue:
+ case Addressing_SwizzleVariable:
return true;
}
return false;