HLSL: Flesh out the loop grammar and productions.
This commit is contained in:
parent
0d2b6de45b
commit
119f8f6906
11 changed files with 645 additions and 2 deletions
7
Test/hlsl.whileLoop.frag
Normal file
7
Test/hlsl.whileLoop.frag
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
float4 PixelShaderFunction(float4 input) : COLOR0
|
||||
{
|
||||
while (input != input) { return input; }
|
||||
while (false) ;
|
||||
[unroll] while (false) { }
|
||||
while ((false)) { }
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue