projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
i965: use pack/unpackDouble lowering
[mesa.git]
/
src
/
util
/
hash_table.h
diff --git
a/src/util/hash_table.h
b/src/util/hash_table.h
index 85b013cac2482001943b319f90893958b84807f9..c69abfa3e64db3286c323872bb4f03bd5542c5fc 100644
(file)
--- a/
src/util/hash_table.h
+++ b/
src/util/hash_table.h
@@
-108,7
+108,9
@@
static inline uint32_t _mesa_hash_pointer(const void *pointer)
return _mesa_hash_data(&pointer, sizeof(pointer));
}
return _mesa_hash_data(&pointer, sizeof(pointer));
}
-static const uint32_t _mesa_fnv32_1a_offset_bias = 2166136261u;
+enum {
+ _mesa_fnv32_1a_offset_bias = 2166136261u,
+};
static inline uint32_t
_mesa_fnv32_1a_accumulate_block(uint32_t hash, const void *data, size_t size)
static inline uint32_t
_mesa_fnv32_1a_accumulate_block(uint32_t hash, const void *data, size_t size)