aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2015-04-12 03:52:39 -0700
committerKenneth Graunke <[email protected]>2015-04-14 01:47:14 -0700
commit21d29124a719bdaf5794859a4a7441cc6be33df7 (patch)
tree4b665e75e8df887269dc236d1bc14148095bd0e1 /src/mesa/drivers/dri
parent1be329e64cd035e3ee088cff3a50d39e1ad66868 (diff)
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 <[email protected]> Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp
index 5c475b2b738..8bd8da2389d 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();