HLSL: Flesh out the loop grammar and productions.
This commit is contained in:
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)) { }
|
||||
}
|
||||
Reference in New Issue
Block a user