draw: don't needlessly iterate through all sampler view slots
authorRoland Scheidegger <sroland@vmware.com>
Sun, 25 Feb 2018 03:26:37 +0000 (04:26 +0100)
committerRoland Scheidegger <sroland@vmware.com>
Wed, 28 Feb 2018 17:22:28 +0000 (18:22 +0100)
commit89ae5def8cea9311727ac80d7274f80650279373
tree7300f06653419d493149056864da3197602f399b
parent6d8ab53303331a2438ab7c89c94be31c44e70bb1
draw: don't needlessly iterate through all sampler view slots

We already stored the highest (potentially) used number.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/auxiliary/draw/draw_context.c