Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | util/bitscan: use correct signature for ffs/ffsll | Emil Velikov | 2017-03-13 | 1 | -2/+2 |
| | | | | | | | | | | | | | Otherwise we'll get errors such as error: conflicting types for ‘ffs’ error: conflicting types for ‘ffsll’ We might want to improve the heuristics and provide a definition only when a native one is missing. We can address that at a later stage. Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]> | ||||
* | mesa/gallium: Move u_bit_scan{,64} from gallium to util. | Mathias Fröhlich | 2016-06-14 | 1 | -0/+80 |
The functions are also useful for mesa. Introduce src/util/bitscan.{h,c}. Move ffs function implementations from src/mesa/main/imports.{h,c}. Move bit scan related functions from src/gallium/auxiliary/util/u_math.h. Merge platform handling with what is available from within mesa. v2: Try to fix MSVC compile. Reviewed-by: Brian Paul <[email protected]> Tested-by: Brian Paul <[email protected]> Signed-off-by: Mathias Fröhlich <[email protected]> |