Re: [Mesa-dev] [PATCH] mesa/uniform_query: use IROUND for doubles as well as floats

2015-11-17 Thread Ilia Mirkin
On Tue, Nov 17, 2015 at 4:00 PM, Dave Airlie wrote: > From: Dave Airlie > > For the case where we convert a double to an int, we should > round the same as we do for floats. > > This fixes GL41-CTS.gpu_shader_fp64.state_query > > Signed-off-by: Dave Airlie > --- > src/mesa/main/uniform_query.cp

[Mesa-dev] [PATCH] mesa/uniform_query: use IROUND for doubles as well as floats

2015-11-17 Thread Dave Airlie
From: Dave Airlie For the case where we convert a double to an int, we should round the same as we do for floats. This fixes GL41-CTS.gpu_shader_fp64.state_query Signed-off-by: Dave Airlie --- src/mesa/main/uniform_query.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/