Przeglądaj źródła

vc4: Keep sample mask writes from being reordered after TLB writes

Fixes a regression I noticed after introducing scheduling on the QIR.

Cc: "11.1" <mesa-stable@lists.freedesktop.org>
tags/11.2-branchpoint
Eric Anholt 9 lat temu
rodzic
commit
960f48809f
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2
    1
      src/gallium/drivers/vc4/vc4_qpu_schedule.c

+ 2
- 1
src/gallium/drivers/vc4/vc4_qpu_schedule.c Wyświetl plik

@@ -259,7 +259,8 @@ process_waddr_deps(struct schedule_state *state, struct schedule_node *n,
}
} else if (is_tmu_write(waddr)) {
add_write_dep(state, &state->last_tmu_write, n);
} else if (qpu_waddr_is_tlb(waddr)) {
} else if (qpu_waddr_is_tlb(waddr) ||
waddr == QPU_W_MS_FLAGS) {
add_write_dep(state, &state->last_tlb, n);
} else {
switch (waddr) {

Ładowanie…
Anuluj
Zapisz