i965: Make brw_update_sampler_state use 8 bits for LOD fields on Gen7+.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 26 Jul 2014 20:12:37 +0000 (13:12 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 2 Aug 2014 12:16:40 +0000 (05:16 -0700)
commit7679393f561ca4f0e9c9587d4b208b035b7b9098
treec4251cccc885439e3e3812df28b49b1e212bc408
parenta50b640dfe3580049e07bfdafb2e69410844359d
i965: Make brw_update_sampler_state use 8 bits for LOD fields on Gen7+.

This was the only actual difference between Gen4-6 and Gen7+ in terms of
the values we program.  The rest was just mechanical structure
rearrangement.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/mesa/drivers/dri/i965/brw_sampler_state.c