Commit 07bfdb47 authored by Eric Anholt's avatar Eric Anholt
Browse files

broadcom/vc5: Propagate vc4 aliasing fix to vc5.

See e5fea0d6
parent e5fea0d6
......@@ -66,7 +66,7 @@ remove_uniform(struct hash_table *ht, struct qreg reg)
entry = _mesa_hash_table_search(ht, key);
assert(entry);
entry->data--;
entry->data = (void *)(((uintptr_t) entry->data) - 1);
if (entry->data == NULL)
_mesa_hash_table_remove(ht, entry);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment