Re: [Mesa-dev] [PATCH] glsl: Properly handle ldexp(0.0f, non-zero-exp).

2016-04-30 Thread Kenneth Graunke
On Wednesday, April 13, 2016 3:46:29 PM PDT Matt Turner wrote: > On Wed, Apr 13, 2016 at 12:07 PM, Matt Turner wrote: > > --- > > i965 is going to stop using this code, but I thought it'd be nice to > fix this and also to note what is the remaining failure on the dEQP > ldexp tests. > > The GLSL

Re: [Mesa-dev] [PATCH] glsl: Properly handle ldexp(0.0f, non-zero-exp).

2016-04-13 Thread Matt Turner
On Wed, Apr 13, 2016 at 12:07 PM, Matt Turner wrote: > --- i965 is going to stop using this code, but I thought it'd be nice to fix this and also to note what is the remaining failure on the dEQP ldexp tests. The GLSL spec says "If this product is too large to be represented in the floating-poin

[Mesa-dev] [PATCH] glsl: Properly handle ldexp(0.0f, non-zero-exp).

2016-04-13 Thread Matt Turner
--- src/compiler/glsl/lower_instructions.cpp | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/compiler/glsl/lower_instructions.cpp b/src/compiler/glsl/lower_instructions.cpp index 1875149..16d92d6 100644 --- a/src/compiler/glsl/lower_instructions.cpp +++ b/src/co