From 60b1a118e123493624324ae191d05870e95968f3 Mon Sep 17 00:00:00 2001 From: Paul Berry Date: Tue, 5 Nov 2013 21:44:13 -0800 Subject: [PATCH] i965/vec4: Fix broken IR annotation in debug output. Commit 70953b5 (i965: Initialize all member variables of vec4_instruction on construction) inadvertently added a line to the vec4_instruction constructor setting this->ir to NULL, wiping out the previously set value. As a result, ever since then, the output of INTEL_DEBUG=vs and INTEL_DEBUG=gs has been missing IR annotations. Cc: "10.0" Reviewed-by: Eric Anholt --- src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp b/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp index 423f69301e8..a13eafb7d4a 100644 --- a/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp +++ b/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp @@ -53,7 +53,6 @@ vec4_instruction::vec4_instruction(vec4_visitor *v, this->mlen = 0; this->base_mrf = 0; this->offset = 0; - this->ir = NULL; this->annotation = v->current_annotation; } -- 2.30.2