From: Eric Anholt Date: Wed, 1 Dec 2010 23:36:26 +0000 (-0800) Subject: i965: Enable IF statements in the VS. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=251d15d888dfaea045447f9e56ea094cb726830b;p=mesa.git i965: Enable IF statements in the VS. While the actual IF instructions were fixed by Zhenyu, we were still flattening them to conditional moves. --- 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);