Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-11-19 | mesa: rework GLSL array code generation | Brian Paul | |
We now express arrays in terms of indirect addressing. For example: dst = a[i]; becomes: MOV dst, TEMP[1 + TEMP[2].y]; At instruction-emit time indirect addressing is converted into ARL/ ADDR-relative form: ARL ADDR.x, TEMP[2].y; MOV dst, TEMP[1 + ADDR.x]; This fixes a number of array-related issues. Arrays of arrays and complex array/struct nesting works now. There may be some regressions, but more work is coming. | |||
2007-01-28 | Lots of vartable clean-ups, fixes. Report an error message when we run out | Brian | |
of registers, rather than crash. | |||
2007-01-27 | Clean-up of var/temp allocation function parameters. | Brian | |
2007-01-27 | Improved register allocation: allow four 'float' vars or temporaries to ↵ | Brian | |
share a single register. Clean-up needed. | |||
2007-01-13 | Rework code related to temp register allocation, both for user variables | Brian | |
and expression temporarires. Much better register utilization now. Lots of other fixes. The OpenGL GLSL "orange book" brick shader demo works now. |