diff options
author | Kenneth Graunke <[email protected]> | 2012-09-11 22:14:58 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2012-09-12 22:13:05 -0700 |
commit | 0fc163408e6b9521d545daba19f70631011d5752 (patch) | |
tree | 0a3423252f2e3be95c90cff3bb364eead7f7545d /src/Makefile.am | |
parent | 1a5d4f7cb2367c7863b28efbd78e9169114baf42 (diff) |
mesa: Add a _mesa_fls() function to find the last bit set in a word.
ffs() finds the least significant bit set; _mesa_fls() finds the /most/
significant bit.
v2: Make it an inline function in imports.h, per Brian's suggestion.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/Makefile.am')
0 files changed, 0 insertions, 0 deletions