From 251d15d888dfaea045447f9e56ea094cb726830b Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 1 Dec 2010 15:36:26 -0800 Subject: [PATCH] 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 file changed, 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); -- 2.30.2