projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6514b4e
)
freedreno/ir3: clear SSA flag when assigning "ARRAY" regs too
author
Rob Clark
<robdclark@gmail.com>
Sat, 31 Mar 2018 17:58:11 +0000
(13:58 -0400)
committer
Rob Clark
<robdclark@gmail.com>
Sat, 31 Mar 2018 19:10:16 +0000
(15:10 -0400)
Avoids a misleading "INVALID FLAGS" warning in debug builds.
Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/ir3/ir3_ra.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/freedreno/ir3/ir3_ra.c
b/src/gallium/drivers/freedreno/ir3/ir3_ra.c
index
0da3d43
..
74d85ea
100644
(file)
--- a/
src/gallium/drivers/freedreno/ir3/ir3_ra.c
+++ b/
src/gallium/drivers/freedreno/ir3/ir3_ra.c
@@
-995,6
+995,7
@@
reg_assign(struct ir3_ra_ctx *ctx, struct ir3_register *reg,
reg->array.offset = num;
} else {
reg->num = num;
+ reg->flags &= ~IR3_REG_SSA;
}
reg->flags &= ~IR3_REG_ARRAY;