i965: Request that returns be lowered in shader main
Fixes piglit tests glsl-vs-main-return and glsl-fs-main-return.
This commit is contained in:
@@ -115,6 +115,7 @@ GLboolean brwCreateContext( int api,
|
||||
ctx->ShaderCompilerOptions[i].EmitCondCodes = GL_TRUE;
|
||||
ctx->ShaderCompilerOptions[i].EmitNVTempInitialization = GL_TRUE;
|
||||
ctx->ShaderCompilerOptions[i].EmitNoNoise = GL_TRUE;
|
||||
ctx->ShaderCompilerOptions[i].EmitNoMainReturn = GL_TRUE;
|
||||
}
|
||||
|
||||
ctx->Const.VertexProgram.MaxNativeInstructions = (16 * 1024);
|
||||
|
||||
Reference in New Issue
Block a user