Re: [Mesa-dev] [PATCH] radeonsi/nir: disable GLSL IR loop unrolling

2018-02-21 Thread Timothy Arceri
On 22/02/18 06:09, Ilia Mirkin wrote: On Tue, Feb 20, 2018 at 8:35 PM, Timothy Arceri wrote: Delaying unrolling and allowing NIR to do it instead has been shown to result in better code in drivers such as i965. shader-db results appear to should the same is true for radeonsi. The other advanta

Re: [Mesa-dev] [PATCH] radeonsi/nir: disable GLSL IR loop unrolling

2018-02-21 Thread Ilia Mirkin
On Tue, Feb 20, 2018 at 8:35 PM, Timothy Arceri wrote: > Delaying unrolling and allowing NIR to do it instead has been shown > to result in better code in drivers such as i965. shader-db results > appear to should the same is true for radeonsi. > > The other advantage is that using NIR unrolling i

Re: [Mesa-dev] [PATCH] radeonsi/nir: disable GLSL IR loop unrolling

2018-02-21 Thread Marek Olšák
Nice. Reviewed-by: Marek Olšák Marek On Wed, Feb 21, 2018 at 2:35 AM, Timothy Arceri wrote: > Delaying unrolling and allowing NIR to do it instead has been shown > to result in better code in drivers such as i965. shader-db results > appear to should the same is true for radeonsi. > > The othe

[Mesa-dev] [PATCH] radeonsi/nir: disable GLSL IR loop unrolling

2018-02-20 Thread Timothy Arceri
Delaying unrolling and allowing NIR to do it instead has been shown to result in better code in drivers such as i965. shader-db results appear to should the same is true for radeonsi. The other advantage is that using NIR unrolling improves compile times significantly. Totals from affected shader