mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 09:18:04 +02:00
mesa: remove old comments
Note: the default value for EmitCondCodes is FALSE. This means the GLSL compiler will emit code like this: SEQ TEMP[0].x, A, B; IF TEMP[0].x; ... ENDIF But if EmitCondCodes is TRUE, condition codes will be used instead: SEQ.C TEMP[0].x, A, B; IF (NE.xxxx); ... ENDIF
This commit is contained in:
parent
a9e753c84c
commit
c5c383596d
1 changed files with 1 additions and 1 deletions
|
|
@ -406,7 +406,7 @@ _mesa_init_shader_state(GLcontext * ctx)
|
|||
* are generated by the GLSL compiler.
|
||||
*/
|
||||
ctx->Shader.EmitHighLevelInstructions = GL_TRUE;
|
||||
ctx->Shader.EmitCondCodes = GL_FALSE;/*GL_TRUE;*/ /* XXX probably want GL_FALSE... */
|
||||
ctx->Shader.EmitCondCodes = GL_FALSE;
|
||||
ctx->Shader.EmitComments = GL_FALSE;
|
||||
ctx->Shader.Flags = get_shader_flags();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue