[Mesa-dev] [PATCH v2 7/7] i965: make use of nir linking

Kenneth Graunke kenneth at whitecape.org
Tue Sep 26 15:53:03 UTC 2017


On Tuesday, September 26, 2017 2:54:28 AM PDT Timothy Arceri wrote:
> On 26/09/17 17:50, Kenneth Graunke wrote:
> > A couple more thoughts:
> > 
> > 1. We're calling brw_nir_optimize even more now...it might make sense to
> >     drop it from brw_preprocess_nir, drop it here, and put it once in the
> >     final (third) loop, just before brw_shader_gather_info.  At least,
> >     it'd be interesting how that affects compile times / quality...
> 
> Actually we can't drop the producer brw_nir_optimize call here anyway as 
> we want to remove dead code before the next iteration of the loop.

Ah, good point...we need to optimize to remove dead code, to make
varyings dead, so we can remove them too.  Nevermind then :)

--Ken
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170926/506c90d8/attachment.sig>


More information about the mesa-dev mailing list