projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
546236e
)
freedreno/ir3: fix typo
author
Hyunjun Ko
<zzoon@igalia.com>
Thu, 20 Jun 2019 13:12:23 +0000
(22:12 +0900)
committer
Rob Clark
<robdclark@chromium.org>
Thu, 20 Jun 2019 15:34:09 +0000
(08:34 -0700)
Fixes: a9b556d3a04 ("freedreno/ir3: check the type of regs of absneg opcode in is_same_type_mov")
Reviewed-by: Rob Clark <robdclark@gmail.com>
src/freedreno/ir3/ir3.h
patch
|
blob
|
history
diff --git
a/src/freedreno/ir3/ir3.h
b/src/freedreno/ir3/ir3.h
index 4d1a44b1deced126bfccc192521ab6ccb2f350d8..c0710af6281efcf65e62bcdcb92d607adc0b66b8 100644
(file)
--- 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 = (reg
1
->flags & (IR3_REG_HIGH | IR3_REG_HALF));
+ unsigned type_reg2 = (reg
2
->flags & (IR3_REG_HIGH | IR3_REG_HALF));
if (type_reg1 ^ type_reg2)
return false;