i965/blorp: Don't set min_mag_neq bit in Gen6 SAMPLER_STATE.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 29 Jul 2014 20:33:43 +0000 (13:33 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 2 Aug 2014 12:14:42 +0000 (05:14 -0700)
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 <kenneth@whitecape.org>
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/mesa/drivers/dri/i965/gen6_blorp.cpp

index eb865b973b1bb052c67e8874a762306ab90925d7..d4198860c467e22904b0cfa1143fa405b57048d7 100644 (file)
@@ -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;