i965: Enable IF statements in the VS.
While the actual IF instructions were fixed by Zhenyu, we were still flattening them to conditional moves.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user