aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util/u_linkage.h
Commit message (Collapse)AuthorAgeFilesLines
* gallium/util: remove u_linkageIlia Mirkin2015-03-261-67/+0
| | | | | | | | Does not appear to be used in tree. Coverity spotted some errors in the bitmask stuff, but the whole thing appears to be unused. Signed-off-by: Ilia Mirkin <[email protected]> Reviewed-by: Brian Paul <[email protected]>
* util: fix uninitialized tableDylan Noblesmith2012-04-131-4/+5
| | | | | | | | | | | | | | | | | | | Most of the 256 values in the 'generic_to_slot' table were supposed to be initialized with the default value 0xff, but were left at zero (from CALLOC_STRUCT()) instead. Noticed by clang: u_linkage.h:60:31: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] memset(table, 0xff, sizeof(table)); ~~~~~ ^~~~~ Also fix a signed/unsigned comparison and a comment typo here. NOTE: This is a candidate for the 8.0 branch. Reviewed-by: Brian Paul <[email protected]>
* gallium: s/bool/boolean/Brian Paul2011-06-081-1/+1
|
* util: Move loop variable declaration outside for loop.Vinson Lee2010-08-211-1/+2
| | | | Fixes build error with MSVC.
* gallium/auxiliary: add semantic linkage utility codeLuca Barbieri2010-08-211-0/+65