gallium/util: Fix deviation calculation in u_cache.
authorVinson Lee <vlee@vmware.com>
Thu, 22 Apr 2010 01:45:44 +0000 (18:45 -0700)
committerVinson Lee <vlee@vmware.com>
Thu, 22 Apr 2010 01:45:44 +0000 (18:45 -0700)
commit7a0b48e3492e8d8f0b5d1cc882eed2b0f51c3dd8
treea708cea6b014e228e2b3e32a4308bd69ce6b05f0
parent393009a939c5874e613b1cfa9836c0d925f5b42e
gallium/util: Fix deviation calculation in u_cache.

The approximate deviation calculation was using the entire cache's total
instead of each cache entry's total.
src/gallium/auxiliary/util/u_cache.c