Mesa (master): mesa: remove old comments
Brian Paul
brianp at kemper.freedesktop.org
Mon Feb 16 19:05:39 UTC 2009
Module: Mesa
Branch: master
Commit: c5c383596ddb26cd75e4b355918ad16915283b59
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c5c383596ddb26cd75e4b355918ad16915283b59
Author: Brian Paul <brianp at vmware.com>
Date: Mon Feb 16 11:50:05 2009 -0700
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
---
src/mesa/shader/shader_api.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/mesa/shader/shader_api.c b/src/mesa/shader/shader_api.c
index 013e912..38f4cd0 100644
--- a/src/mesa/shader/shader_api.c
+++ b/src/mesa/shader/shader_api.c
@@ -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();
}
More information about the mesa-commit
mailing list