Browse Source

Correct `is_operand_value` for Swizzle addressing modes

gingerBill 4 years ago
parent
commit
8e62f9c83c
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/checker.cpp

+ 2 - 0
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;