aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/api_loopback.c
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2009-09-02 05:11:25 -0700
committerBrian Paul <[email protected]>2009-09-02 08:47:47 -0600
commita46e32787d98192d35bf2834011cfa5537e0e703 (patch)
treeb9c5d28478613723a54590fedf788d8ca95e1eb2 /src/mesa/main/api_loopback.c
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/main/api_loopback.c')
0 files changed, 0 insertions, 0 deletions