Hello everyone, this is the second round of this patchset.
Since the first round I made the following changes to it: 1. Add a new field ArrayID to the declaration instead of relaying on referencing the N-th declaration. 2. Minor bugfix in glsl_to_tgsi and just like temps allocate arrays on first use. 3. Add more inline comments and full documentation. 4. Use () instead of [] in text representation, since it is only a reference and not an index. 5. Fully implement dumping and parsing from/to text representations. A TGSI declaration of array temporaries now looks like this: DCL TEMP[0..7], ARRAY(1), LOCAL While indexing into this array now looks like this: MOV TEMP[8], TEMP[ADDR[0].x](1) Using and providing this new Information is completely optional to both the drivers and state trackers. Please review, and as always comments are very welcome, Christian. _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev