Skip to content

util/hash_table: Properly handle the NULL key in hash_table_u64

Caio Oliveira requested to merge cmarcelo/mesa:r/util-hash-table-u64 into master

The hash_table_u64 should support any uint64_t as input. It does special handling for the "deleted" key, storing the data in the table itself; do the same for the "freed" key.

Fixes: b38dab10 "util/hash_table: Assert that keys are not reserved pointers"

Merge request reports