i965: Remove base miplevel from sampler state.
authorBen Widawsky <benjamin.widawsky@intel.com>
Fri, 4 Sep 2015 17:42:33 +0000 (10:42 -0700)
committerBen Widawsky <benjamin.widawsky@intel.com>
Fri, 4 Sep 2015 23:05:02 +0000 (16:05 -0700)
commit5165e464f225cd1b0f61e0da0758052b9b9ff518
tree00cbe20ef070a833fb958f63fa256ed37a7254e6
parent509ba61d5a28d95ce73f3d4e8d973eee56aad5c1
i965: Remove base miplevel from sampler state.

Gen9 changes the meaning of this to coarse LOD quality mode. Although that's a
desirable thing to be setting, it doesn't match the gen8 behavior and this was
unintentional. More importantly, we don't ever use this field. So instead of
getting it "wrong" drop it entirely.

This is a respin of a patch which only [incorrectly] tried to address gen9.

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_sampler_state.c
src/mesa/drivers/dri/i965/brw_state.h
src/mesa/drivers/dri/i965/gen6_blorp.cpp