Techniques and Passes
Technique descriptions have the following syntax.
- Variable declarations go before the body of the technique.
- The body of the technique contains one or more pass descriptions.
- A pass contains one or more state assignments.
- States can be assigned to either a constant value or to a parameter.
{type} {id};
{type} {id} = {const};
TECHNIQUE {id}
{
PASS {id}
{
{state} = {const};
{state}[{n}] = {const};
{state} = <{id}>;
{state}[{n}] = <{id}>;
}
}