mesa/main: Add conversion from double to uint64/int64 in GetUniform*i64v()
authorIago Toral Quiroga <itoral@igalia.com>
Thu, 18 May 2017 09:43:55 +0000 (11:43 +0200)
committerIago Toral Quiroga <itoral@igalia.com>
Thu, 1 Jun 2017 06:44:34 +0000 (08:44 +0200)
commitc33308248357c40896872336258a66190e3c7048
tree9a2469a5ad8fbca7b1ddc5db67a79827e0875b10
parentcc972c2845e7c8554918e3aaaab95c1581ff5599
mesa/main: Add conversion from double to uint64/int64 in GetUniform*i64v()

v2:
  - need unsigned rounding for double->uint64 conversion (Nicolai)
  - use round() instead of IROUND() macros (Iago)

Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/main/uniform_query.cpp