i965: Shorten sampler loops in key setup.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 9 Jul 2013 22:17:15 +0000 (15:17 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 19 Aug 2013 20:17:00 +0000 (13:17 -0700)
commitc5fe7d063cc886ef1307f8ea58a301debed12fba
tree36230f8474166eb6f36c006a4ed37cdd9f14aec1
parentd0401d09ce19e47e01a3f1c86c10894515de26ad
i965: Shorten sampler loops in key setup.

Now that we have the number of samplers available, we don't need to
iterate over all 16.  This should be particularly helpful for vertex
shaders.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
src/mesa/drivers/dri/i965/brw_program.h
src/mesa/drivers/dri/i965/brw_vs.c
src/mesa/drivers/dri/i965/brw_wm.c