xubingyue / softart

Automatically exported from code.google.com/p/softart
Other
0 stars 0 forks source link

Structure layout works in normal mode and semantic mode. #72

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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

GoogleCodeExporter commented 8 years ago
We introduce virtual args and specially return expression to resolve it.

Original comment by wuye9036 on 16 May 2011 at 8:04

GoogleCodeExporter commented 8 years ago

Original comment by wuye9036 on 7 Mar 2012 at 2:52