HLSL: Flesh out the loop grammar and productions.
This commit is contained in:
6
Test/hlsl.doLoop.frag
Normal file
6
Test/hlsl.doLoop.frag
Normal file
@@ -0,0 +1,6 @@
|
||||
float4 PixelShaderFunction(float4 input) : COLOR0
|
||||
{
|
||||
[unroll] do {} while (false);
|
||||
[unroll] do {;} while (false);
|
||||
do { return input; } while (input == input);
|
||||
}
|
||||
Reference in New Issue
Block a user