<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - radv: VK_PIPELINE_CREATE_DISABLE_OPTIMIZATION_BIT and bringing down initial pipeline compile times"
href="https://bugs.freedesktop.org/show_bug.cgi?id=106246#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - radv: VK_PIPELINE_CREATE_DISABLE_OPTIMIZATION_BIT and bringing down initial pipeline compile times"
href="https://bugs.freedesktop.org/show_bug.cgi?id=106246">bug 106246</a>
from <span class="vcard"><a class="email" href="mailto:t_arceri@yahoo.com.au" title="Timothy Arceri <t_arceri@yahoo.com.au>"> <span class="fn">Timothy Arceri</span></a>
</span></b>
<pre>(In reply to Nicolai Hähnle from <a href="show_bug.cgi?id=106246#c3">comment #3</a>)
<span class="quote">> As long as scratch buffer support is robust, removing LLVM IR optimization
> passes is probably not a problem, though you really do want mem2reg and I
> don't think we spend much time in the others (at least radeonsi didn't, last
> time I checked).
>
> Using the -O0 settings for the codegen backend is a lot riskier. Our compute
> folks have done some work fixing bugs there, but I really wouldn't recommend
> it.</span >
Yeah I've done some experimenting with the Blacksmith demo. I'm not sure we can
get much benefit implementing VK_PIPELINE_CREATE_DISABLE_OPTIMIZATION_BIT with
the current state of things.
Default:
Sum of shader compile times: 325933 ms
With only LLVM DCE opt (compilation fails without this):
Sum of shader compile times: 326451 ms
No NIR linking plus single pass over NIR opts (compilation fails without this):
Sum of shader compile times: 294788 ms</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>