Mesa (master): freedreno/ir3: fix typo
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Jun 20 15:34:27 UTC 2019
Module: Mesa
Branch: master
Commit: f7f8fb1b5505094a89ca74f8805a9480334c5e22
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f7f8fb1b5505094a89ca74f8805a9480334c5e22
Author: Hyunjun Ko <zzoon at igalia.com>
Date: Thu Jun 20 22:12:23 2019 +0900
freedreno/ir3: fix typo
Fixes: a9b556d3a04 ("freedreno/ir3: check the type of regs of absneg opcode in is_same_type_mov")
Reviewed-by: Rob Clark <robdclark at gmail.com>
---
src/freedreno/ir3/ir3.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/freedreno/ir3/ir3.h b/src/freedreno/ir3/ir3.h
index 4d1a44b1dec..c0710af6281 100644
--- a/src/freedreno/ir3/ir3.h
+++ b/src/freedreno/ir3/ir3.h
@@ -618,7 +618,7 @@ static inline bool is_same_type_reg(struct ir3_register *reg1,
struct ir3_register *reg2)
{
unsigned type_reg1 = (reg1->flags & (IR3_REG_HIGH | IR3_REG_HALF));
- unsigned type_reg2 = (reg1->flags & (IR3_REG_HIGH | IR3_REG_HALF));
+ unsigned type_reg2 = (reg2->flags & (IR3_REG_HIGH | IR3_REG_HALF));
if (type_reg1 ^ type_reg2)
return false;
More information about the mesa-commit
mailing list