Mesa (glsl-continue-return): glsl: remove obsolete comment

Brian Paul brianp at kemper.freedesktop.org
Wed Jun 24 14:54:50 UTC 2009


Module: Mesa
Branch: glsl-continue-return
Commit: c0e68b548481c99b9bbfbf95207d44aad6a76ea2
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c0e68b548481c99b9bbfbf95207d44aad6a76ea2

Author: Brian Paul <brianp at vmware.com>
Date:   Tue Jun 23 16:17:06 2009 -0600

glsl: remove obsolete comment

---

 src/mesa/shader/slang/slang_codegen.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/src/mesa/shader/slang/slang_codegen.c b/src/mesa/shader/slang/slang_codegen.c
index 2c43e53..7ab2135 100644
--- a/src/mesa/shader/slang/slang_codegen.c
+++ b/src/mesa/shader/slang/slang_codegen.c
@@ -1410,9 +1410,6 @@ _slang_gen_function_call(slang_assemble_ctx *A, slang_function *fun,
              * implement 'return' with RET (and CAL).
              * Nevertheless, we performed "inlining" to make a new instance
              * of the function body to deal with static register allocation.
-             *
-             * XXX check if there's one 'return' and if it's the very last
-             * statement in the function - we can optimize that case.
              */
             assert(inlined->type == SLANG_OPER_BLOCK_NEW_SCOPE ||
                    inlined->type == SLANG_OPER_SEQUENCE);




More information about the mesa-commit mailing list