summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/gen6_blorp.cpp
diff options
context:
space:
mode:
authorBen Widawsky <benjamin.widawsky@intel.com>2015-09-04 10:42:33 -0700
committerBen Widawsky <benjamin.widawsky@intel.com>2015-09-04 16:05:02 -0700
commit5165e464f225cd1b0f61e0da0758052b9b9ff518 (patch)
tree00cbe20ef070a833fb958f63fa256ed37a7254e6 /src/mesa/drivers/dri/i965/gen6_blorp.cpp
parent509ba61d5a28d95ce73f3d4e8d973eee56aad5c1 (diff)
downloadexternal_mesa3d-5165e464f225cd1b0f61e0da0758052b9b9ff518.zip
external_mesa3d-5165e464f225cd1b0f61e0da0758052b9b9ff518.tar.gz
external_mesa3d-5165e464f225cd1b0f61e0da0758052b9b9ff518.tar.bz2
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>
Diffstat (limited to 'src/mesa/drivers/dri/i965/gen6_blorp.cpp')
-rw-r--r--src/mesa/drivers/dri/i965/gen6_blorp.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/gen6_blorp.cpp b/src/mesa/drivers/dri/i965/gen6_blorp.cpp
index 54c4a6d..cba5c2f 100644
--- a/src/mesa/drivers/dri/i965/gen6_blorp.cpp
+++ b/src/mesa/drivers/dri/i965/gen6_blorp.cpp
@@ -486,7 +486,6 @@ gen6_blorp_emit_sampler_state(struct brw_context *brw,
0, /* min LOD */
max_lod,
0, /* LOD bias */
- 0, /* base miplevel */
0, /* shadow function */
non_normalized_coords,
0); /* border color offset - unused */