mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48:06 +02:00
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:
parent
87708e8c90
commit
4de7a3b76a
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue