mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-15 07:20:19 +01:00
v3d: Make sure that a thrsw doesn't split a multop from its umul24.
The thrsw will invalidate rtop, just like accumulators and flags. Caught by simulator assertions in CS imulextended/umulextended tests. Fixes:90269ba353("broadcom/vc5: Use THRSW to enable multi-threaded shaders.") (cherry picked from commit3f9bcf9136)
This commit is contained in:
parent
721f667509
commit
efc31a64ee
1 changed files with 1 additions and 0 deletions
|
|
@ -392,6 +392,7 @@ calculate_deps(struct schedule_state *state, struct schedule_node *n)
|
|||
for (int i = 0; i < ARRAY_SIZE(state->last_r); i++)
|
||||
add_write_dep(state, &state->last_r[i], n);
|
||||
add_write_dep(state, &state->last_sf, n);
|
||||
add_write_dep(state, &state->last_rtop, n);
|
||||
|
||||
/* Scoreboard-locking operations have to stay after the last
|
||||
* thread switch.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue