From fe2e2fabcd712d893b5815b09a2f3a8f23ec8303 Mon Sep 17 00:00:00 2001 From: Caio Oliveira Date: Sat, 9 Aug 2025 13:59:39 -0700 Subject: [PATCH] brw: Make sure copied instruction don't copy the list pointers Reviewed-by: Kenneth Graunke Part-of: --- src/intel/compiler/brw_inst.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/intel/compiler/brw_inst.cpp b/src/intel/compiler/brw_inst.cpp index 6503e8fca74..fb9648e4852 100644 --- a/src/intel/compiler/brw_inst.cpp +++ b/src/intel/compiler/brw_inst.cpp @@ -100,6 +100,7 @@ brw_inst::brw_inst(enum opcode opcode, uint8_t exec_width, const brw_reg &dst, brw_inst::brw_inst(const brw_inst &that) { memcpy((void*)this, &that, sizeof(that)); + brw_exec_node_init(this); initialize_sources(this, that.src, that.sources); }