diff options
author | Paul Berry <stereotype441@gmail.com> | 2013-11-05 21:44:13 -0800 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2013-11-23 12:40:20 -0800 |
commit | 989d65009018d25b54496060a9ab5bf707849577 (patch) | |
tree | ff7c189a82568bf8075a0c862f5b68128944f5d5 /src | |
parent | 9495fb4fff15c7f0e8b07bc101dd7a8ccfc6421c (diff) |
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" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
(cherry picked from commit 60b1a118e123493624324ae191d05870e95968f3)
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp b/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp index a036e2dbb06..1c0596bcd35 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; } |