From 0efc253f024db93fd9f20734a5e6d6905c1315ae Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Sun, 29 Sep 2019 22:27:24 +0100 Subject: etnaviv: fix bitmask typo Fixes: d92689c46f0d2da05ae6 ("etnaviv: nir: add native integers (HALTI2+)") Signed-off-by: Eric Engestrom Reviewed-by: Jonathan Marek --- src/gallium/drivers/etnaviv/etnaviv_asm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/etnaviv/etnaviv_asm.h b/src/gallium/drivers/etnaviv/etnaviv_asm.h index b25f13f2a64..03e18a7b45a 100644 --- a/src/gallium/drivers/etnaviv/etnaviv_asm.h +++ b/src/gallium/drivers/etnaviv/etnaviv_asm.h @@ -150,7 +150,7 @@ static inline struct etna_inst_src etna_immediate_float(float x) { uint32_t bits = fui(x); - assert((bits && 0xfff) == 0); /* 12 lsb cut off */ + assert((bits & 0xfff) == 0); /* 12 lsb cut off */ return etna_immediate_src(0, bits >> 12); } -- cgit v1.2.3