mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 11:00:11 +01:00
vc4: The r4_count is supposed to be how many writes, not reads.
It's part of the key so that you can tell which r4 value is being read.
This commit is contained in:
parent
5679ccfcaf
commit
04faeff28a
1 changed files with 1 additions and 1 deletions
|
|
@ -173,7 +173,7 @@ qir_opt_cse(struct vc4_compile *c)
|
|||
}
|
||||
}
|
||||
|
||||
if (qir_reads_r4(inst))
|
||||
if (qir_writes_r4(inst))
|
||||
r4_count++;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue