[Mesa-dev] [PATCH] Revert "intel/nir: Call nir_lower_io_to_scalar_early"

Timothy Arceri tarceri at itsqueeze.com
Wed Aug 15 00:25:09 UTC 2018


On 09/08/18 05:05, Jason Ekstrand wrote:
> Commit 4434591bf56a6b0 caused substantially more URB messages in
> geometry and tessellation shaders.  Before we can really enable this
> sort of optimization,  We either need some way of combining them back
> together into vectors or we need to do cross-stage vector element
> elimination without splitting everything into scalars.

You should be calling:

nir_compact_varyings() after remove_unused_varyings this should do most 
of what you want.


More information about the mesa-dev mailing list