summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-06-23 16:17:06 -0600
committerBrian Paul <brianp@vmware.com>2009-06-23 16:17:06 -0600
commitc0e68b548481c99b9bbfbf95207d44aad6a76ea2 (patch)
treee5478e690a45818594e555cf1c72b889890296c0
parentdc72a8fd107faecf16d034818ea1cbf625c073a8 (diff)
glsl: remove obsolete comment
-rw-r--r--src/mesa/shader/slang/slang_codegen.c3
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 2c43e53b19..7ab2135c85 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);