i965: Fix INTEL_DEBUG=shader_time for SIMD8 VS.
authorKenneth Graunke <kenneth@whitecape.org>
Sun, 12 Apr 2015 10:52:39 +0000 (03:52 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 14 Apr 2015 08:47:14 +0000 (01:47 -0700)
In commit 4ebeb71573ad44f7657810dc5dd2c9030e3e63db, I deleted the
emit_shader_time_end() call in emit_urb_writes().  But I failed to add
it to run_vs(), as I intended.  So no data was recorded at all.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_fs.cpp

index 5c475b2b738cfa5c3588ea8512b25f932ea5334d..8bd8da2389dcfc6cf274fc240fb930ffd0ed8f32 100644 (file)
@@ -3877,6 +3877,9 @@ fs_visitor::run_vs()
 
    emit_urb_writes();
 
+   if (INTEL_DEBUG & DEBUG_SHADER_TIME)
+      emit_shader_time_end();
+
    calculate_cfg();
 
    optimize();