i965: Un-hardcode border color table from update_sampler_state().
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 22 Aug 2012 06:40:02 +0000 (23:40 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 19 Aug 2013 20:16:59 +0000 (13:16 -0700)
commit9525bcf5f799ffdf6db4cfa41da0daee142e6d3a
tree1230845b906d2f35398e9645b3fdd7e6840ab0a9
parented4459b10bda151de0d147936c848939c5da045a
i965: Un-hardcode border color table from update_sampler_state().

Like the previous patch, this simply pushes direct access to brw->wm up
one level in the call chain.  Rather than passing the whole array, we
just pass a pointer to the correct spot in the array, similar to what we
do for the actual sampler state structure.

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