Module: Mesa Branch: main Commit: 8f73cc802cb935a1cc49560f9b89c3290ad7973c URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8f73cc802cb935a1cc49560f9b89c3290ad7973c
Author: Dave Airlie <airl...@redhat.com> Date: Wed Jan 3 12:59:02 2024 +1000 intel/compiler: revert part of "Move earlier scheduler code that is not mode-specific" This removed a bunch of calls from the vec4 code that aren't called anywhere else. Bring back the bits that were removed. Fixes glxgears on gen5 Fixes: 81594d0db1803 ("intel/compiler: Move earlier scheduler code that is not mode-specific") Reviewed-by: Caio Oliveira <caio.olive...@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26862> --- src/intel/compiler/brw_schedule_instructions.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/intel/compiler/brw_schedule_instructions.cpp b/src/intel/compiler/brw_schedule_instructions.cpp index 913805f2609..ff2cc6ff997 100644 --- a/src/intel/compiler/brw_schedule_instructions.cpp +++ b/src/intel/compiler/brw_schedule_instructions.cpp @@ -2019,6 +2019,11 @@ vec4_instruction_scheduler::run() n->issue_time = 2; } + calculate_deps(); + + compute_delays(); + compute_exits(); + assert(current.available.is_empty()); for (schedule_node *n = current.start; n < current.end; n++) { reset_node_tmp(n);