projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5fea0d
)
broadcom/vc5: Propagate vc4 aliasing fix to vc5.
author
Eric Anholt
<eric@anholt.net>
Sat, 21 Oct 2017 00:05:54 +0000
(17:05 -0700)
committer
Eric Anholt
<eric@anholt.net>
Sat, 21 Oct 2017 00:09:47 +0000
(17:09 -0700)
See
e5fea0d621af2b14cf6c5e364eeaf293db460f2a
src/broadcom/compiler/vir_lower_uniforms.c
patch
|
blob
|
history
diff --git
a/src/broadcom/compiler/vir_lower_uniforms.c
b/src/broadcom/compiler/vir_lower_uniforms.c
index
b274199
..
7f3bb84
100644
(file)
--- 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);
}