Hi, tgsi.rst currently reads: > .. opcode:: RET - Subroutine Call Return > > pc = pop() > > Potential restrictions: > * Only occurs at end of function.
Also, currently the glsl compiler happily generates code that ends up as a TGSI shader that has RET in the middle of a function. ie it seems that "potential restriction" isn't true at the moment. Should that restriction be removed from tgsi.rst? Or do you plan to change the glsl compiler or the module that transforms the glsl compiler's output to TGSI so that RET will only be emitted at the end of a function? ... or maybe I'm misinterpreting the spec? Thanks, Tilman -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?
pgpld0WgS9FFr.pgp
Description: PGP signature
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev