Re: [Mesa-dev] [PATCH 8/7] i965: Accurately bail on SIMD16 compiles.

2014-03-15 Thread Kenneth Graunke
On 03/12/2014 01:28 AM, Kenneth Graunke wrote: > Ideally, we'd like to never even attempt the SIMD16 compile if we could > know ahead of time that it won't succeed---it's purely a waste of time. > This is especially important for state-based recompiles, which happen at > draw time. > > The fragmen

Re: [Mesa-dev] [PATCH 8/7] i965: Accurately bail on SIMD16 compiles.

2014-03-12 Thread Ian Romanick
On 03/12/2014 11:30 AM, Kenneth Graunke wrote: > On 03/12/2014 02:51 AM, Ilia Mirkin wrote: >> On Wed, Mar 12, 2014 at 4:28 AM, Kenneth Graunke >> wrote: >>> Ideally, we'd like to never even attempt the SIMD16 compile if we could >>> know ahead of time that it won't succeed---it's purely a waste

Re: [Mesa-dev] [PATCH 8/7] i965: Accurately bail on SIMD16 compiles.

2014-03-12 Thread Kenneth Graunke
On 03/12/2014 02:51 AM, Ilia Mirkin wrote: > On Wed, Mar 12, 2014 at 4:28 AM, Kenneth Graunke > wrote: >> Ideally, we'd like to never even attempt the SIMD16 compile if we could >> know ahead of time that it won't succeed---it's purely a waste of time. >> This is especially important for state-ba

Re: [Mesa-dev] [PATCH 8/7] i965: Accurately bail on SIMD16 compiles.

2014-03-12 Thread Matt Turner
On Wed, Mar 12, 2014 at 10:36 AM, Ian Romanick wrote: > On 03/12/2014 02:51 AM, Ilia Mirkin wrote: >> On Wed, Mar 12, 2014 at 4:28 AM, Kenneth Graunke >> wrote: >>> Ideally, we'd like to never even attempt the SIMD16 compile if we could >>> know ahead of time that it won't succeed---it's purely

Re: [Mesa-dev] [PATCH 8/7] i965: Accurately bail on SIMD16 compiles.

2014-03-12 Thread Ian Romanick
On 03/12/2014 02:51 AM, Ilia Mirkin wrote: > On Wed, Mar 12, 2014 at 4:28 AM, Kenneth Graunke > wrote: >> Ideally, we'd like to never even attempt the SIMD16 compile if we could >> know ahead of time that it won't succeed---it's purely a waste of time. >> This is especially important for state-ba

Re: [Mesa-dev] [PATCH 8/7] i965: Accurately bail on SIMD16 compiles.

2014-03-12 Thread Ilia Mirkin
On Wed, Mar 12, 2014 at 4:28 AM, Kenneth Graunke wrote: > Ideally, we'd like to never even attempt the SIMD16 compile if we could > know ahead of time that it won't succeed---it's purely a waste of time. > This is especially important for state-based recompiles, which happen at > draw time. > > Th

Re: [Mesa-dev] [PATCH 8/7] i965: Accurately bail on SIMD16 compiles.

2014-03-12 Thread Chris Forbes
This patch is: Reviewed-by: Chris Forbes On Wed, Mar 12, 2014 at 9:28 PM, Kenneth Graunke wrote: > Ideally, we'd like to never even attempt the SIMD16 compile if we could > know ahead of time that it won't succeed---it's purely a waste of time. > This is especially important for state-based rec

[Mesa-dev] [PATCH 8/7] i965: Accurately bail on SIMD16 compiles.

2014-03-12 Thread Kenneth Graunke
Ideally, we'd like to never even attempt the SIMD16 compile if we could know ahead of time that it won't succeed---it's purely a waste of time. This is especially important for state-based recompiles, which happen at draw time. The fragment shader compiler has a number of checks like: if (disp