Re: [Mesa-dev] [PATCH 05/12] nir/algebraic: Flag inexact optimizations

2016-03-23 Thread Jason Ekstrand
On Wed, Mar 23, 2016 at 12:22 PM, Francisco Jerez wrote: > Jason Ekstrand writes: > > > On Mar 23, 2016 2:07 AM, "Francisco Jerez" > wrote: > >> > >> Jason Ekstrand writes: > >> > >> > Many of our optimizations, while great for cutting shaders down to > size, > >> > aren't really precision-saf

Re: [Mesa-dev] [PATCH 05/12] nir/algebraic: Flag inexact optimizations

2016-03-23 Thread Francisco Jerez
Francisco Jerez writes: > Jason Ekstrand writes: > >> On Mar 23, 2016 2:07 AM, "Francisco Jerez" wrote: >>> >>> Jason Ekstrand writes: >>> >>> > Many of our optimizations, while great for cutting shaders down to size, >>> > aren't really precision-safe. This commit tries to flag all of the >>

Re: [Mesa-dev] [PATCH 05/12] nir/algebraic: Flag inexact optimizations

2016-03-23 Thread Francisco Jerez
Jason Ekstrand writes: > On Mar 23, 2016 2:07 AM, "Francisco Jerez" wrote: >> >> Jason Ekstrand writes: >> >> > Many of our optimizations, while great for cutting shaders down to size, >> > aren't really precision-safe. This commit tries to flag all of the >> > inexact floating-point optimizat

Re: [Mesa-dev] [PATCH 05/12] nir/algebraic: Flag inexact optimizations

2016-03-23 Thread Jason Ekstrand
On Mar 23, 2016 2:07 AM, "Francisco Jerez" wrote: > > Jason Ekstrand writes: > > > Many of our optimizations, while great for cutting shaders down to size, > > aren't really precision-safe. This commit tries to flag all of the > > inexact floating-point optimizations so they don't get run on val

Re: [Mesa-dev] [PATCH 05/12] nir/algebraic: Flag inexact optimizations

2016-03-23 Thread Francisco Jerez
Jason Ekstrand writes: > Many of our optimizations, while great for cutting shaders down to size, > aren't really precision-safe. This commit tries to flag all of the > inexact floating-point optimizations so they don't get run on values that > are flagged "exact". It's a bit conservative and m

[Mesa-dev] [PATCH 05/12] nir/algebraic: Flag inexact optimizations

2016-03-19 Thread Jason Ekstrand
Many of our optimizations, while great for cutting shaders down to size, aren't really precision-safe. This commit tries to flag all of the inexact floating-point optimizations so they don't get run on values that are flagged "exact". It's a bit conservative and maybe flags some safe optimization