http://codereview.appspot.com/802047/diff/1/2 File src/compiler/OutputGLSL.cpp (right): http://codereview.appspot.com/802047/diff/1/2#newcode508 src/compiler/OutputGLSL.cpp:508: } Yes that's exactly what happens to a while ...
14 years, 7 months ago
(2010-03-31 03:08:53 UTC)
#3
14 years, 7 months ago
(2010-03-31 18:06:38 UTC)
#4
LGTM
http://codereview.appspot.com/802047/diff/1/2
File src/compiler/OutputGLSL.cpp (right):
http://codereview.appspot.com/802047/diff/1/2#newcode508
src/compiler/OutputGLSL.cpp:508: }
On 2010/03/31 03:08:53, alokp wrote:
> Yes that's exactly what happens to a while loop. I can distinguish between and
> for-loop and while-loop by looking at whether init and terminal blocks are
> available. But does it matter?
Probably not. It might be a little surprising but I suppose we also couldn't
distinguish "for (;cond;) {}" from being translated into while loops. It's fine
as is.
Issue 802047: Added support for loops.
(Closed)
Created 14 years, 7 months ago by Alok Priyadarshi
Modified 14 years, 7 months ago
Reviewers: kbr1
Base URL: http://angleproject.googlecode.com/svn/trunk/
Comments: 5