summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2010-12-01 15:36:26 -0800
committerEric Anholt <[email protected]>2010-12-01 16:14:34 -0800
commit251d15d888dfaea045447f9e56ea094cb726830b (patch)
tree544ad5c201f444a960e2ccd085fb95c271fbab9b
parent843a6a308e05bd4bf2056e08ec65ac4770097b93 (diff)
i965: Enable IF statements in the VS.
While the actual IF instructions were fixed by Zhenyu, we were still flattening them to conditional moves.
-rw-r--r--src/mesa/drivers/dri/i965/brw_context.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c
index cb0a8b96c9c..28549f2574a 100644
--- a/src/mesa/drivers/dri/i965/brw_context.c
+++ b/src/mesa/drivers/dri/i965/brw_context.c
@@ -122,9 +122,6 @@ GLboolean brwCreateContext( int api,
(i == MESA_SHADER_FRAGMENT);
ctx->ShaderCompilerOptions[i].EmitNoIndirectTemp =
(i == MESA_SHADER_FRAGMENT);
-
- if (intel->gen == 6)
- ctx->ShaderCompilerOptions[i].EmitNoIfs = (i == MESA_SHADER_VERTEX);
}
ctx->Const.VertexProgram.MaxNativeInstructions = (16 * 1024);