diff options
author | Jason Ekstrand <[email protected]> | 2018-10-18 22:31:08 -0500 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2018-10-22 16:00:18 -0500 |
commit | 69618a867858cceeaa59eca732eb76c7677e73a8 (patch) | |
tree | 36dfb05742cf8d95af6b7af9b306fe62563dbc9d /src/compiler/nir/nir_algebraic.py | |
parent | 00103db04ab879fc19f305e23ac384d843241b6c (diff) |
nir/algebraic: Use bool internally instead of bool32
Reviewed-by: Samuel Iglesias Gonsálvez <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir_algebraic.py')
-rw-r--r-- | src/compiler/nir/nir_algebraic.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/nir/nir_algebraic.py b/src/compiler/nir/nir_algebraic.py index 3055937029c..eccef0d2c97 100644 --- a/src/compiler/nir/nir_algebraic.py +++ b/src/compiler/nir/nir_algebraic.py @@ -165,7 +165,7 @@ class Constant(Value): def type(self): if isinstance(self.value, (bool)): - return "nir_type_bool32" + return "nir_type_bool" elif isinstance(self.value, integer_types): return "nir_type_int" elif isinstance(self.value, float): @@ -199,7 +199,7 @@ class Variable(Value): def type(self): if self.required_type == 'bool': - return "nir_type_bool32" + return "nir_type_bool" elif self.required_type in ('int', 'uint'): return "nir_type_int" elif self.required_type == 'float': |