[Mesa-dev] [PATCH] radv/nir: avoid packing vertex outputs we can eliminate

Timothy Arceri tarceri at itsqueeze.com
Tue Nov 6 00:44:50 UTC 2018


On 6/11/18 11:30 am, Eric Anholt wrote:
> Timothy Arceri <tarceri at itsqueeze.com> writes:
> 
>> For now I have only enabled this for RADV we can do it
>> also for radeonsi also but we need to add a CAP for it.
> 
> If we're doing this at link time, why not push the constant value from
> the producer into the consumer shader and then cut out the varying
> entirely?
> 

Maybe we could look to do this between vertex stages but we can do this 
for fragment inputs (which is what this patch is for) unless they are 
marked as flat (which almost never happens). Or I'm I missing something?


More information about the mesa-dev mailing list