summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/enable.c
diff options
context:
space:
mode:
authorMatthew McClure <[email protected]>2013-09-26 16:57:26 -0700
committerJosé Fonseca <[email protected]>2013-10-04 10:55:51 +0100
commitd164d50a85e5c42a8ed0c5082564f69e13aa09e0 (patch)
treeeebc183fcb4e80ca2e45c4d18a61d2a758cbe784 /src/mesa/main/enable.c
parentb280516e114776c8d34c2d6fe0174762f3c85c0e (diff)
util: when packing depth values, round to nearest.
This patch adds the lrint, lrintf, llrint, and llrintf rounding utility functions. When packing unorm depth values, we will round to nearest. Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/mesa/main/enable.c')
0 files changed, 0 insertions, 0 deletions