One our 72-thread build machine, release builds of Mesa used to take 90 seconds. They now take closer to 8 minutes. All of the extra time is spent compiling nir_opt_algebraic.c. Debug builds do not seem to be affected. I bisected this to:
f097247dd831da9b6e48baebc8b91efec3afcd28 is the first bad commit
Author: Samuel Iglesias Gonsálvez <firstname.lastname@example.org>
Date: Wed Dec 12 16:29:13 2018 +0100
nir/algebraic: disable inexact optimizations depending on float controls execution mode
If FLOAT_CONTROLS_SIGNED_ZERO_INF_NAN_PRESERVE or
FLOAT_CONTROLS_DENORM_FLUSH_TO_ZERO are enabled, do not apply the
inexact optimizations so the VK_KHR_shader_float_controls execution
mode is respected.
- Do not apply inexact optimizations if SHADER_DENORM_FLUSH_TO_ZERO is
- Updated to renamed shader info member (Andres).
- Directly access execution mode instead of dragging it by parameter (Caio).
Signed-off-by: Samuel Iglesias Gonsálvez <email@example.com>
Signed-off-by: Andres Gomez <firstname.lastname@example.org>
Reviewed-by: Connor Abbott <email@example.com> [v1]
:040000 040000 33e076aacc5a6a4f10065cac2c8b06af0a5439a2 2b4a6e086b09648fc67a1f219777d51dc96f60f5 M src
-- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/825.
I had the same issues.
~13 minutes, down to former ~4 minutes on my system (4c/8t)
SOLVED with current master.
I do NOT have a GitLab account, currently.