[Mesa-dev] [PATCH 01/23] i965/blorp: Don't set min_mag_neq bit in Gen6 SAMPLER_STATE.
Kenneth Graunke
kenneth at whitecape.org
Tue Jul 29 16:29:06 PDT 2014
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 at whitecape.org>
---
src/mesa/drivers/dri/i965/gen6_blorp.cpp | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/gen6_blorp.cpp b/src/mesa/drivers/dri/i965/gen6_blorp.cpp
index eb865b9..d419886 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;
--
2.0.2
More information about the mesa-dev
mailing list