<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#c6">Comment # 6</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 Timothy Arceri from <a href="show_bug.cgi?id=106246#c4">comment #4</a>)
<span class="quote">> (In reply to Nicolai Hähnle from <a href="show_bug.cgi?id=106246#c3">comment #3</a>)
> > 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.
>
> 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</span >
I've done some playing around with the LLVM cogegen opt levels:
LLVMCodeGenLevelNone + LLVMAddEarlyCSEMemSSAPass (compilation fails without
this):
Sum of shader compile times: 211403 ms
However there are all sorts of rendering issues when running the demo.
No NIR linking plus single pass over NIR opts (compilation fails without this),
LLVMCodeGenLevelNone + LLVMAddEarlyCSEMemSSAPass(compilation fails without
this):
Sum of shader compile times: 179775 ms
With this the demo doesn't actually display the graphics it just shows a
flickering Unity logo throughout the run.</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>