i965: Fix INTEL_DEBUG=bat
Use hash_table_u64 instead of hash_table directly, since the former will also handle the special keys (deleted and freed) and allow use the whole u64 space. Fixes crash in INTEL_DEBUG=bat when using a key with value 0 -- the current value for a freed key. Fixes: b38dab10 "util/hash_table: Assert that keys are not reserved pointers" Reviewed-by:Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by:
Kenneth Graunke <kenneth@whitecape.org>
- src/mesa/drivers/dri/i965/brw_context.h 1 addition, 1 deletionsrc/mesa/drivers/dri/i965/brw_context.h
- src/mesa/drivers/dri/i965/intel_batchbuffer.c 8 additions, 22 deletionssrc/mesa/drivers/dri/i965/intel_batchbuffer.c
- src/util/hash_table.c 13 additions, 2 deletionssrc/util/hash_table.c
- src/util/hash_table.h 4 additions, 0 deletionssrc/util/hash_table.h