[Mesa-dev] [PATCH 12/22] nir: Replace an odd comparison involving fmin of -b2f

2018-02-23 Thread Ian Romanick
From: Ian Romanick I noticed the fge version while looking at a shader for an unrelated reason. The feq version prevents a regression in a later change that performs strength reduction of some compares. Broadwell and Skylake had similar results. (Skylake shown) total instructions in shared prog

Re: [Mesa-dev] [PATCH 12/22] nir: Replace an odd comparison involving fmin of -b2f

2018-02-27 Thread Samuel Iglesias Gonsálvez
Reviewed-by: Samuel Iglesias Gonsálvez On 24/02/18 00:55, Ian Romanick wrote: > From: Ian Romanick > > I noticed the fge version while looking at a shader for an unrelated > reason. The feq version prevents a regression in a later change that > performs strength reduction of some compares. > >