cso: move cso hashes to a more table driven scheme
authorDave Airlie <airlied@redhat.com>
Fri, 3 Jun 2011 01:05:47 +0000 (11:05 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 3 Jun 2011 05:26:59 +0000 (15:26 +1000)
commit1dbcb83881f508280ed78dae6834d341936712f2
treed22dab7208ebdd77c0ad8259d7dee62d0f8c5566
parent970726dd6f9d5361cf7a4002d65ba24ac8baec20
cso: move cso hashes to a more table driven scheme

this removes a bad branch pain in the hash table lookup fn.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/auxiliary/cso_cache/cso_cache.c
src/gallium/auxiliary/cso_cache/cso_cache.h