i965/vec4: Fix broken IR annotation in debug output.
authorPaul Berry <stereotype441@gmail.com>
Wed, 6 Nov 2013 05:44:13 +0000 (21:44 -0800)
committerPaul Berry <stereotype441@gmail.com>
Tue, 19 Nov 2013 17:40:57 +0000 (09:40 -0800)
commit60b1a118e123493624324ae191d05870e95968f3
tree4e39f0e23efcf871141cee4d13ad97567e51538d
parent92c3d5acf766eee4a27250c2f9883204991b1647
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>
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp