diff options
-rw-r--r-- | src/amd/compiler/aco_insert_waitcnt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/compiler/aco_insert_waitcnt.cpp b/src/amd/compiler/aco_insert_waitcnt.cpp index e0184993c6b..254eb97d151 100644 --- a/src/amd/compiler/aco_insert_waitcnt.cpp +++ b/src/amd/compiler/aco_insert_waitcnt.cpp @@ -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; |