Mesa (master): i965: Enable IF statements in the VS.
Eric Anholt
anholt at kemper.freedesktop.org
Thu Dec 2 00:31:34 UTC 2010
Module: Mesa
Branch: master
Commit: 251d15d888dfaea045447f9e56ea094cb726830b
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=251d15d888dfaea045447f9e56ea094cb726830b
Author: Eric Anholt <eric at anholt.net>
Date: Wed Dec 1 15:36:26 2010 -0800
i965: Enable IF statements in the VS.
While the actual IF instructions were fixed by Zhenyu, we were still
flattening them to conditional moves.
---
src/mesa/drivers/dri/i965/brw_context.c | 3 ---
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 cb0a8b9..28549f2 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);
More information about the mesa-commit
mailing list