From: Kenneth Graunke Date: Tue, 29 Jul 2014 20:33:43 +0000 (-0700) Subject: i965/blorp: Don't set min_mag_neq bit in Gen6 SAMPLER_STATE. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6e120358340870795c22c42bd7dd7953b59f8296;p=mesa.git i965/blorp: Don't set min_mag_neq bit in Gen6 SAMPLER_STATE. The "Min/Mag State Not Equal" bit is supposed to be set when the min/mag filters or address rounding modes differ. BLORP uses identical min/mag settings, so the bit should be unset. Signed-off-by: Kenneth Graunke Reviewed-by: Topi Pohjolainen --- diff --git a/src/mesa/drivers/dri/i965/gen6_blorp.cpp b/src/mesa/drivers/dri/i965/gen6_blorp.cpp index eb865b973b1..d4198860c46 100644 --- a/src/mesa/drivers/dri/i965/gen6_blorp.cpp +++ b/src/mesa/drivers/dri/i965/gen6_blorp.cpp @@ -465,8 +465,6 @@ gen6_blorp_emit_sampler_state(struct brw_context *brw, sampler->ss1.s_wrap_mode = BRW_TEXCOORDMODE_CLAMP; sampler->ss1.t_wrap_mode = BRW_TEXCOORDMODE_CLAMP; - sampler->ss0.min_mag_neq = 1; - /* Set LOD bias: */ sampler->ss0.lod_bias = 0;