diff options
author | Eric Anholt <eric@anholt.net> | 2010-07-19 10:21:58 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-07-19 10:47:08 -0700 |
commit | 95c08920ea3d040360e5cc51d8a852d21a0329ee (patch) | |
tree | b199e096f3611df9971a4c0e8e09c2a97d62a029 /src/mesa/drivers/dri/i915 | |
parent | 29ce44ad2b8d37ea54923f1d1856b44ef26903e5 (diff) |
i915: Ask the compiler to flatten out all the if statements that it can.
Diffstat (limited to 'src/mesa/drivers/dri/i915')
-rw-r--r-- | src/mesa/drivers/dri/i915/i915_context.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i915/i915_context.c b/src/mesa/drivers/dri/i915/i915_context.c index b3fe1c05d6..d8715cf026 100644 --- a/src/mesa/drivers/dri/i915/i915_context.c +++ b/src/mesa/drivers/dri/i915/i915_context.c @@ -174,6 +174,8 @@ i915CreateContext(int api, ctx->FragmentProgram._MaintainTexEnvProgram = GL_TRUE; + ctx->Shader.EmitNoIfs = GL_TRUE; + ctx->Const.MaxDrawBuffers = 1; _tnl_init_vertices(ctx, ctx->Const.MaxArrayLockSize + 12, |