projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b295403
)
vc4: Fix deletion from the program cache.
author
Eric Anholt
<eric@anholt.net>
Tue, 6 Jan 2015 00:34:58 +0000
(16:34 -0800)
committer
Eric Anholt
<eric@anholt.net>
Tue, 6 Jan 2015 23:41:36 +0000
(15:41 -0800)
They key is, oddly enough, in the key field, not in the data field (which
is the vc4_compiled_shader *). Fixes regular failures in fp-long-alu.
src/gallium/drivers/vc4/vc4_program.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/vc4/vc4_program.c
b/src/gallium/drivers/vc4/vc4_program.c
index 0d6f0fa7d60367ce672a0988c2acf1280035e9c7..5a5a5e34bc0d0745e2971957d4f973a9d76df55b 100644
(file)
--- a/
src/gallium/drivers/vc4/vc4_program.c
+++ b/
src/gallium/drivers/vc4/vc4_program.c
@@
-2490,7
+2490,7
@@
delete_from_cache_if_matches(struct hash_table *ht,
struct hash_entry *entry,
struct vc4_uncompiled_shader *so)
{
-
struct vc4_key *key = entry->data
;
+
const struct vc4_key *key = entry->key
;
if (key->shader_state == so) {
struct vc4_compiled_shader *shader = entry->data;