Check for index
mesa glsl
Merge with master
Update mesa to 9.2
Fix merge errors.
Add mesa dummy interface.
Mesa changed. Keep it separated for mesa patch.
Shader compilation hook done.
Mesa changes
Save point. Not compiles. It was 2 weeks of work. I already see how it must be done, but does not make it yet. Need just some more refactoring.
Update mesa to 9.2.1
One more step to get it work.
Mesa changes
Well, main part looks done. All parts of compiller, including code generation was rewriten. It compiles, but may not work as expected. I do not know, what is expected in some cases, so cannot guarantee that I understood the mad mind of 3D Labs. There are somemore work left:
1. Checking
2. Rewrite 2 more traversers as mesa visitor.
3. A lot of refactoring work, cleaning, dead code removing, etc.
4. Many cases has TODO and FIXME comments, it must be checked.
Mesa changes. Ast locations to IR.
Everything in mesa visitors now. Everything working. Var pass works close to original results, jump pass is not and require more debugging.
Main work done. It works somehow with very simple shader.
Mesa changes
Fix debug crash at the end using dummy.
Add built-in functions for shaders, fix ir_expression segfault. Add some enums.