projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6c6495
)
freedreno/ir3: all mem instructions have WAR hazzard
author
Rob Clark
<robdclark@gmail.com>
Sun, 3 Dec 2017 16:48:56 +0000
(11:48 -0500)
committer
Rob Clark
<robdclark@gmail.com>
Sun, 3 Dec 2017 19:17:41 +0000
(14:17 -0500)
It isn't just load instructions that have write-after-read hazzard.
Fixes stk gaussian blur compute shaders.
Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/ir3/ir3_legalize.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/freedreno/ir3/ir3_legalize.c
b/src/gallium/drivers/freedreno/ir3/ir3_legalize.c
index 3f12b68ada19838f06008afa978003177e6c08ff..b4d5db58ccb6ca4d11fe683614716fda0cb28356 100644
(file)
--- a/
src/gallium/drivers/freedreno/ir3/ir3_legalize.c
+++ b/
src/gallium/drivers/freedreno/ir3/ir3_legalize.c
@@
-211,7
+211,7
@@
legalize_block(struct ir3_legalize_ctx *ctx, struct ir3_block *block)
/* both tex/sfu appear to not always immediately consume
* their src register(s):
*/
- if (is_tex(n) || is_sfu(n) || is_
load
(n)) {
+ if (is_tex(n) || is_sfu(n) || is_
mem
(n)) {
foreach_src(reg, n) {
if (reg_gpr(reg))
regmask_set(&needs_ss_war, reg);