520521e3809a36201582fa48ee173eba12e97812 |
|
01-Apr-2012 |
Dylan Noblesmith <nobled@dreamwidth.org> |
util: fix uninitialized table 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 <brianp@vmware.com>
/external/mesa3d/src/gallium/auxiliary/util/u_linkage.h
|
5f2deba9f3f3f9230a9fdd2848e20c1e23e98b8f |
|
08-Jun-2011 |
Brian Paul <brianp@vmware.com> |
gallium: s/bool/boolean/
/external/mesa3d/src/gallium/auxiliary/util/u_linkage.h
|
4a6eb492e86f74434504766ec551130ac6306e6d |
|
21-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
util: Move loop variable declaration outside for loop. Fixes build error with MSVC.
/external/mesa3d/src/gallium/auxiliary/util/u_linkage.h
|
e6ff995d14085caa447c4e8634bf069c8a94f0ec |
|
25-Feb-2010 |
Luca Barbieri <luca@luca-barbieri.com> |
gallium/auxiliary: add semantic linkage utility code
/external/mesa3d/src/gallium/auxiliary/util/u_linkage.h
|