mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
aco: fix uninitialized data error in waitcnt pass
Shouldn't create any incorrect waitcnts but may create suboptimial waitcnts in rare cases. Signed-off-by: Rhys Perry <pendingchaos02@gmail.com> Reviewed-by: Daniel Schürmann <daniel@schuermann.dev> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4133> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4133>
This commit is contained in:
parent
cc320ef9af
commit
85d05b3fd7
1 changed files with 1 additions and 1 deletions
|
|
@ -247,7 +247,7 @@ struct wait_ctx {
|
|||
bool pending_s_buffer_store = false; /* GFX10 workaround */
|
||||
|
||||
wait_imm barrier_imm[barrier_count];
|
||||
uint16_t barrier_events[barrier_count]; /* use wait_event notion */
|
||||
uint16_t barrier_events[barrier_count] = {}; /* use wait_event notion */
|
||||
|
||||
std::map<PhysReg,wait_entry> gpr_map;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue