diff options
author | Eric Anholt <[email protected]> | 2017-10-20 17:05:54 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2017-10-20 17:09:47 -0700 |
commit | 07bfdb478bf844a0ac9cf3679f51f83c4abea5a1 (patch) | |
tree | b0fa8cbd31313068bd29b97c020cc8649842455d | |
parent | e5fea0d621af2b14cf6c5e364eeaf293db460f2a (diff) |
broadcom/vc5: Propagate vc4 aliasing fix to vc5.
See e5fea0d621af2b14cf6c5e364eeaf293db460f2a
-rw-r--r-- | src/broadcom/compiler/vir_lower_uniforms.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/broadcom/compiler/vir_lower_uniforms.c b/src/broadcom/compiler/vir_lower_uniforms.c index b2741994a2d..7f3bb8460e1 100644 --- a/src/broadcom/compiler/vir_lower_uniforms.c +++ b/src/broadcom/compiler/vir_lower_uniforms.c @@ -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); } |