mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
freedreno/ir3: all mem instructions have WAR hazzard
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>
This commit is contained in:
parent
e6c6495d3a
commit
48eef0c182
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue