i965: Add a "sampler state index" parameter to update_sampler_state().
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 24 Aug 2012 08:12:53 +0000 (01:12 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 25 Aug 2012 19:01:10 +0000 (12:01 -0700)
commit2faa592e7f54ef21b799b61ffa50c6bc8039ddc1
treed66357d1449dff028632a831d1498e08ce4a7d1a
parent28fab4295e9631ca91c5ebdf26d1bee23011d57e
i965: Add a "sampler state index" parameter to update_sampler_state().

This represents the index into the sampler state table or sampler
default color table (the two are identical).

Right now, this is still the texture unit, but that will change shortly.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_state.h
src/mesa/drivers/dri/i965/brw_wm_sampler_state.c
src/mesa/drivers/dri/i965/gen7_sampler_state.c