gallium: fix bug in cso_single_sampler_done() in computation of nr_samplers
authorBrian Paul <brian.paul@tungstengraphics.com>
Wed, 19 Mar 2008 22:41:54 +0000 (16:41 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 19 Mar 2008 23:15:14 +0000 (17:15 -0600)
commitb45669283fe4b9af9f2e78ac3c0c84207cf63775
tree62662f550355d2ed789bd0f3bbe800ddc76e2d1e
parentdf5ba799fa929d4c739be9d11d3f1000afc265b2
gallium: fix bug in cso_single_sampler_done() in computation of nr_samplers

Need to find highest used sampler so search from end toward beginning.
src/gallium/auxiliary/cso_cache/cso_context.c