mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-29 22:30:24 +01:00
i965: Enable lower_clip_distance.
i965 requires gl_ClipDistance to be formatted as an array of 2 vec4's (as opposed to an array of 8 floats), so enable the lowering pass that performs this conversion. Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
parent
2d686fe911
commit
b9ef2b85b4
1 changed files with 1 additions and 0 deletions
|
|
@ -120,6 +120,7 @@ GLboolean brwCreateContext( int api,
|
|||
(i == MESA_SHADER_FRAGMENT);
|
||||
ctx->ShaderCompilerOptions[i].EmitNoIndirectTemp =
|
||||
(i == MESA_SHADER_FRAGMENT);
|
||||
ctx->ShaderCompilerOptions[i].LowerClipDistance = GL_TRUE;
|
||||
}
|
||||
|
||||
ctx->Const.VertexProgram.MaxNativeInstructions = (16 * 1024);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue