---
 src/util/non_replacing_hash_table.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/util/non_replacing_hash_table.h 
b/src/util/non_replacing_hash_table.h
index b35ee871bb..7550400539 100644
--- a/src/util/non_replacing_hash_table.h
+++ b/src/util/non_replacing_hash_table.h
@@ -42,6 +42,11 @@ struct hash_entry {
    uint32_t hash;
    const void *key;
    void *data;
+   /*
+    * If 0, no more data for this key.
+    * If anything else, it is position of the next data + 1.
+    */
+   uint32_t next_data;
 };
 
 struct hash_table {
-- 
2.11.0

_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to