Re: [Mesa-dev] [PATCH v2 3/6] mesa/main: Clamp GetUniformui64v values to be >= 0

2017-05-20 Thread Matt Turner
On Thu, May 18, 2017 at 2:43 AM, Iago Toral Quiroga wrote: > Like we do for the 32-bit case. > > v2: > - need unsigned rounding for float->uint64 conversion (Nicolai) > - use roundf() instead of IROUND() macros > --- > src/mesa/main/uniform_query.cpp | 46 > ++

[Mesa-dev] [PATCH v2 3/6] mesa/main: Clamp GetUniformui64v values to be >= 0

2017-05-18 Thread Iago Toral Quiroga
Like we do for the 32-bit case. v2: - need unsigned rounding for float->uint64 conversion (Nicolai) - use roundf() instead of IROUND() macros --- src/mesa/main/uniform_query.cpp | 46 - 1 file changed, 45 insertions(+), 1 deletion(-) diff --git a/src/m