summaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir_algebraic.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/nir/nir_algebraic.py')
-rw-r--r--src/compiler/nir/nir_algebraic.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/nir/nir_algebraic.py b/src/compiler/nir/nir_algebraic.py
index 4134d496030..17f64625fed 100644
--- a/src/compiler/nir/nir_algebraic.py
+++ b/src/compiler/nir/nir_algebraic.py
@@ -362,8 +362,8 @@ class BitSizeValidator(object):
if var_class == 0:
self._var_classes[var.index] = bit_class
else:
- canon_bit_class = self._class_relation.get_canonical(var_class)
- canon_var_class = self._class_relation.get_canonical(bit_class)
+ canon_var_class = self._class_relation.get_canonical(var_class)
+ canon_bit_class = self._class_relation.get_canonical(bit_class)
assert canon_var_class < 0 or canon_bit_class < 0 or \
canon_var_class == canon_bit_class, \
'Variable {0} cannot be both {1}-bit and {2}-bit' \