summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_state_derived.h
diff options
context:
space:
mode:
authorCorbin Simpson <MostAwesomeDude@gmail.com>2009-10-16 08:39:59 -0700
committerCorbin Simpson <MostAwesomeDude@gmail.com>2009-10-16 08:43:02 -0700
commitfc8a156cfc539b9c04dc3527e4fc61cb4b0b688e (patch)
treed9eafbd3c0645c66f0223143e1e9dcce56d3d3c9 /src/gallium/drivers/r300/r300_state_derived.h
parent3924d8611513eea74446d655b554596ab66381ff (diff)
r300g: Use a hash table to look up vertex info.
Need to move rs_block to this, too. Also, I'm getting massive amounts of flicker for some reason; I bet we've gotta re-re-examine PSC and friends. :C
Diffstat (limited to 'src/gallium/drivers/r300/r300_state_derived.h')
-rw-r--r--src/gallium/drivers/r300/r300_state_derived.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_state_derived.h b/src/gallium/drivers/r300/r300_state_derived.h
index 71a4a47b00..05ad535e2d 100644
--- a/src/gallium/drivers/r300/r300_state_derived.h
+++ b/src/gallium/drivers/r300/r300_state_derived.h
@@ -25,6 +25,10 @@
struct r300_context;
+unsigned r300_shader_key_hash(void* key);
+
+int r300_shader_key_compare(void* key1, void* key2);
+
void r300_update_derived_state(struct r300_context* r300);
#endif /* R300_STATE_DERIVED_H */