i915: Request that POW instructions be lowered
authorIan Romanick <ian.d.romanick@intel.com>
Thu, 25 Nov 2010 06:21:34 +0000 (22:21 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 1 Dec 2010 20:01:13 +0000 (12:01 -0800)
src/mesa/drivers/dri/i915/i915_context.c

index f943f81dd0571923a371c16e902f55bc6390e54e..f32f3cf6020d3b807936f4b5370c4c49c09f89db 100644 (file)
@@ -176,6 +176,7 @@ i915CreateContext(int api,
    ctx->ShaderCompilerOptions[MESA_SHADER_VERTEX].EmitCondCodes = GL_TRUE;
    ctx->ShaderCompilerOptions[MESA_SHADER_FRAGMENT].EmitNoIfs = GL_TRUE;
    ctx->ShaderCompilerOptions[MESA_SHADER_FRAGMENT].EmitNoNoise = GL_TRUE;
+   ctx->ShaderCompilerOptions[MESA_SHADER_FRAGMENT].EmitNoPow = GL_TRUE;
 
    ctx->Const.MaxDrawBuffers = 1;