HLSL: Fix #96: Support do-while loop substatements with no curly braces.
This commit is contained in:
parent
670271890d
commit
0c6f9360f5
4 changed files with 180 additions and 77 deletions
|
|
@ -118,8 +118,9 @@ gl_FragCoord origin is upper left
|
|||
0:24 Convert int to bool ( temp bool)
|
||||
0:24 'i' ( temp int)
|
||||
0:24 Loop Body
|
||||
0:24 Pre-Decrement ( temp int)
|
||||
0:24 'i' ( temp int)
|
||||
0:? Sequence
|
||||
0:24 Pre-Decrement ( temp int)
|
||||
0:24 'i' ( temp int)
|
||||
0:? Sequence
|
||||
0:26 Loop with condition tested first
|
||||
0:26 Loop Condition
|
||||
|
|
@ -286,8 +287,9 @@ gl_FragCoord origin is upper left
|
|||
0:24 Convert int to bool ( temp bool)
|
||||
0:24 'i' ( temp int)
|
||||
0:24 Loop Body
|
||||
0:24 Pre-Decrement ( temp int)
|
||||
0:24 'i' ( temp int)
|
||||
0:? Sequence
|
||||
0:24 Pre-Decrement ( temp int)
|
||||
0:24 'i' ( temp int)
|
||||
0:? Sequence
|
||||
0:26 Loop with condition tested first
|
||||
0:26 Loop Condition
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue