summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker/st_cache.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2009-09-02 05:11:25 -0700
committerBrian Paul <brianp@vmware.com>2009-09-02 08:47:47 -0600
commita46e32787d98192d35bf2834011cfa5537e0e703 (patch)
treeb9c5d28478613723a54590fedf788d8ca95e1eb2 /src/mesa/state_tracker/st_cache.h
parentc0cf0fd163397d68acfb2e226a6b9a569ded54cd (diff)
mesa: Compact state key for TexEnv program cache
By rearranging the bitfields within the key we can reduce the size of the key from 644 to 196 bytes, reducing the cost of both the hashing and equality tests.
Diffstat (limited to 'src/mesa/state_tracker/st_cache.h')
0 files changed, 0 insertions, 0 deletions