nak: Disable opt_jump_thread pre-Volta

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28084>
This commit is contained in:
Faith Ekstrand
2024-07-23 10:49:23 -05:00
committed by Marge Bot
parent 9acacccff7
commit 25eb6c8206

View File

@@ -414,7 +414,9 @@ pub extern "C" fn nak_compile_shader(
pass!(s, assign_regs);
pass!(s, lower_par_copies);
pass!(s, lower_copy_swap);
pass!(s, opt_jump_thread);
if nak.sm >= 70 {
pass!(s, opt_jump_thread);
}
pass!(s, calc_instr_deps);
s.gather_info();