[Mesa-dev] [PATCH 7/7] i965 options set

Vincent Lejeune vljn at ovi.com
Thu Feb 16 13:03:13 PST 2012


---
 src/mesa/drivers/dri/i965/brw_context.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c
index 87ea1a5..fbfaeba 100644
--- a/src/mesa/drivers/dri/i965/brw_context.c
+++ b/src/mesa/drivers/dri/i965/brw_context.c
@@ -234,6 +234,7 @@ brwCreateContext(int api,
       ctx->ShaderCompilerOptions[i].EmitNoIndirectTemp =
 	 (i == MESA_SHADER_FRAGMENT);
       ctx->ShaderCompilerOptions[i].LowerClipDistance = true;
+	ctx->ShaderCompilerOptions[i].VaryingsPackingConstraint = SMOOTH_NOPERSPECTIVE_MIXED;
    }
 
    ctx->Const.VertexProgram.MaxNativeInstructions = (16 * 1024);
-- 
1.7.7



More information about the mesa-dev mailing list