i965/vs: Fix DEBUG_SHADER_TIME when VS terminates with 2 URB writes.
authorPaul Berry <stereotype441@gmail.com>
Sun, 7 Apr 2013 13:29:46 +0000 (06:29 -0700)
committerPaul Berry <stereotype441@gmail.com>
Tue, 9 Apr 2013 19:15:08 +0000 (12:15 -0700)
commit56ce7fa4b8e1cdede206802e512b320b1b26110d
treee0697076c3e4eef657e5b1630d1ccc8f7e60d452
parent462647453ca2c245a51483f38f5fe21ea5126f80
i965/vs: Fix DEBUG_SHADER_TIME when VS terminates with 2 URB writes.

The call to emit_shader_time_end() before the second URB write was
conditioned with "if (eot)", but eot is always false in this code
path, so emit_shader_time_end() was never being called for vertex
shaders that performed 2 URB writes.

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp