diff options
author | Benjamin Bellec <[email protected]> | 2011-06-08 23:00:54 +0200 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2011-06-09 01:14:50 +0200 |
commit | 894db40f122175ed85e0d32d42296f2d56cf748e (patch) | |
tree | fd244d13c0543853bca8dcd8792c08310d69fc81 /src/gallium/auxiliary/util/u_caps.h | |
parent | 9f865646f1fb05cec72dcb1d7411670d38b0a9b4 (diff) |
util: better logbase2/next_power_of_two implementations
Use __builtin_clz when available for logbase/next_power_of_two,
and replace next_power_of_two with faster implementation otherwise.
Diffstat (limited to 'src/gallium/auxiliary/util/u_caps.h')
0 files changed, 0 insertions, 0 deletions