HLSL: Attribute grammar and if-else grammar/productions.

This commit is contained in:
John Kessenich 2016-06-05 11:23:11 -06:00
parent 21472aee75
commit 0d2b6de45b
8 changed files with 456 additions and 8 deletions

13
Test/hlsl.attribute.frag Normal file
View file

@ -0,0 +1,13 @@
float4 PixelShaderFunction(float4 input) : COLOR0
{
[unroll];
[];
[][][];
[unroll(4)];
[allow_uav_condition];
[unroll(4)] [allow_uav_condition];
[ loop ];
[fastopt];
[branch] if (0);
[flatten];
}