mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 02:48:06 +02:00
ir3/legalize: Take (ss) into account in WaR hazards
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22075>
This commit is contained in:
parent
ae2db62aab
commit
a56de0774b
1 changed files with 1 additions and 1 deletions
|
|
@ -565,7 +565,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_mem(n)) {
|
||||
if (is_tex(n) || is_mem(n) || is_ss_producer(n)) {
|
||||
foreach_src (reg, n) {
|
||||
regmask_set(&state->needs_ss_war, reg);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue