Skip to content
Commit 68bd0c7b authored by Kenneth Graunke's avatar Kenneth Graunke Committed by Juan A. Suarez Romero
Browse files

util: Add a _mesa_i64roundevenf() helper.



This always returns a int64_t, translating to _mesa_lroundevenf on
systems where long is 64-bit, and llrintf where "long long" is needed.

Fixes: 594fc0f8 ("mesa: Replace F_TO_I() with _mesa_lroundevenf().")
Reviewed-by: default avatarMarek Olšák <marek.olsak@amd.com>
Reviewed-by: default avatarMatt Turner <mattst88@gmail.com>
(cherry picked from commit b59914e1)
parent 915a272b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment