Mesa (master): i965: Fix INTEL_DEBUG=shader_time for SIMD8 VS.
Kenneth Graunke
kwg at kemper.freedesktop.org
Tue Apr 14 08:49:23 UTC 2015
Module: Mesa
Branch: master
Commit: 21d29124a719bdaf5794859a4a7441cc6be33df7
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=21d29124a719bdaf5794859a4a7441cc6be33df7
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Sun Apr 12 03:52:39 2015 -0700
i965: Fix INTEL_DEBUG=shader_time for SIMD8 VS.
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 at whitecape.org>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
---
src/mesa/drivers/dri/i965/brw_fs.cpp | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp
index 5c475b2..8bd8da2 100644
--- a/src/mesa/drivers/dri/i965/brw_fs.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs.cpp
@@ -3877,6 +3877,9 @@ fs_visitor::run_vs()
emit_urb_writes();
+ if (INTEL_DEBUG & DEBUG_SHADER_TIME)
+ emit_shader_time_end();
+
calculate_cfg();
optimize();
More information about the mesa-commit
mailing list