diff options
author | Connor Abbott <cwabbott0@gmail.com> | 2015-10-30 18:19:34 -0400 |
---|---|---|
committer | Jason Ekstrand <jason.ekstrand@intel.com> | 2015-10-31 08:05:52 -0700 |
commit | 0ef8c5cb96f6b1fea7c18c25fbff2adb6d7d0736 (patch) | |
tree | 46ae1a458d49022ea9b355f58c948d0474982c27 /src/mesa/drivers | |
parent | 425d8c2578a1e51ecbbc2ac6138af68817a52cb0 (diff) | |
download | external_mesa3d-0ef8c5cb96f6b1fea7c18c25fbff2adb6d7d0736.zip external_mesa3d-0ef8c5cb96f6b1fea7c18c25fbff2adb6d7d0736.tar.gz external_mesa3d-0ef8c5cb96f6b1fea7c18c25fbff2adb6d7d0736.tar.bz2 |
i965/sched: don't calculate live intervals for post-RA scheduling
For some reason, this causes assertions on gm965 only. In any case, it's
unnecessary since we don't need liveness information in the post-RA
scheduler.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=92744
Cc: Mark Janes <mark.a.janes@intel.com>
Signed-off-by: Connor Abbott <cwabbott0@gmail.com>
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp b/src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp index 2698399..88c45f7 100644 --- a/src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp +++ b/src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp @@ -1702,7 +1702,8 @@ instruction_scheduler::run(cfg_t *cfg) void fs_visitor::schedule_instructions(instruction_scheduler_mode mode) { - calculate_live_intervals(); + if (mode != SCHEDULE_POST) + calculate_live_intervals(); int grf_count; if (mode == SCHEDULE_POST) |