diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2009-09-02 05:11:25 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-09-02 08:47:47 -0600 |
commit | a46e32787d98192d35bf2834011cfa5537e0e703 (patch) | |
tree | b9c5d28478613723a54590fedf788d8ca95e1eb2 /src/mesa/state_tracker/st_cache.h | |
parent | c0cf0fd163397d68acfb2e226a6b9a569ded54cd (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