From 7749599d737d205a88bbb6fa755ba095d9b581fa Mon Sep 17 00:00:00 2001 From: Gert Wollny Date: Mon, 15 Aug 2022 17:15:43 +0200 Subject: [PATCH] r600/sfn: Initialize out buffer when printing op 79ca456b4837b3bc21cf9ef3c03c505c4b4909f6 r600/sfn: rewrite NIR backend Closes: #7021 Signed-off-by: Gert Wollny Part-of: --- src/gallium/drivers/r600/sfn/sfn_instr_export.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/r600/sfn/sfn_instr_export.cpp b/src/gallium/drivers/r600/sfn/sfn_instr_export.cpp index 3d40ea1796a..00826ed6457 100644 --- a/src/gallium/drivers/r600/sfn/sfn_instr_export.cpp +++ b/src/gallium/drivers/r600/sfn/sfn_instr_export.cpp @@ -206,7 +206,7 @@ bool WriteScratchInstr::do_ready() const void WriteScratchInstr::do_print(std::ostream& os) const { - char buf[6]; + char buf[6] = {0}; os << "WRITE_SCRATCH "; if (m_address)