HLSL: Attribute grammar and if-else grammar/productions.
This commit is contained in:
parent
21472aee75
commit
0d2b6de45b
8 changed files with 456 additions and 8 deletions
13
Test/hlsl.attribute.frag
Normal file
13
Test/hlsl.attribute.frag
Normal 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];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue