Structure could defined as input or output of shader.
It also work as an normal structure.
We must be distinguish the states between them.
Following steps are guide:
1. Add semantic_mode in cgllvm_context. It will indicates that expression and
definition in which mode.
2. Add node-context look up table in cgllvm_vs. It could be used to look up
semantic_mode storage information.
3. Only structure need to be defined yet.
Original issue reported on code.google.com by wuye9036 on 12 Apr 2011 at 5:06
Original issue reported on code.google.com by
wuye9036
on 12 Apr 2011 at 5:06