cso: fix loop bound in cso_set_vertex_samplers()
authorBrian Paul <brianp@vmware.com>
Thu, 3 Feb 2011 01:11:27 +0000 (18:11 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 3 Feb 2011 01:11:30 +0000 (18:11 -0700)
commitd087cfaabf386c462329fb62f54311523a89f106
treef14143e30fd3b9223bc0ae18ffb3d6c12a2fccb1
parentfd1252ab67abb1ea351195e192429f292667a8a2
cso: fix loop bound in cso_set_vertex_samplers()

Before we were looping to nr_samplers, which is the number of fragment
samplers, not vertex samplers.

NOTE: This is a candidate for the 7.9 and 7.10 branches.
src/gallium/auxiliary/cso_cache/cso_context.c