Parcourir la source

glsl: remove obsolete comment

tags/mesa_7_5_rc4
Brian Paul il y a 17 ans
Parent
révision
454a717d94
1 fichiers modifiés avec 0 ajouts et 3 suppressions
  1. 0
    3
      src/mesa/shader/slang/slang_codegen.c

+ 0
- 3
src/mesa/shader/slang/slang_codegen.c Voir le fichier

@@ -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);

Chargement…
Annuler
Enregistrer