From 8e62f9c83c4834c795e0a074084974b6e4b342be Mon Sep 17 00:00:00 2001 From: gingerBill Date: Tue, 8 Jun 2021 14:23:44 +0100 Subject: [PATCH] Correct `is_operand_value` for Swizzle addressing modes --- src/checker.cpp | 2 ++ 1 file changed, 2 insertions(+) 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;