glsl: remove obsolete comment
authorBrian Paul <brianp@vmware.com>
Tue, 23 Jun 2009 22:17:06 +0000 (16:17 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 26 Jun 2009 19:16:33 +0000 (13:16 -0600)
src/mesa/shader/slang/slang_codegen.c

index 2c43e53b191d9e905183425b3541195c3a2d896f..7ab2135c853868987f4902f0030a08d254af28b7 100644 (file)
@@ -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);