commit | 101f792a2af9c9a19a050afba8b60caa689466a5 | [log] [tgz] |
---|---|---|
author | Zack Rusin <zackr@vmware.com> | Fri Jun 18 13:41:20 2010 -0400 |
committer | Zack Rusin <zackr@vmware.com> | Fri Jun 18 13:46:44 2010 -0400 |
tree | d79405c3da0da947a90d70dc7670b03a9855b237 | |
parent | 2b221e11da7a8bf759e3c359f22ba6f49d5f0997 [diff] |
gallium: add a temporary array register file like normal temporaries, but allows to define a number of distinct arrays, all of which make it explicit that they contain /indexable/ registers. as a side-effect we're adding support for multi-dimensional destination registers. The whole thing looks like this: DCL TEMPX[0][0..128] # 0 array with 128 registers ADD TEMPX[0][0], IN[0], IMM[0] ADD TEMPX[0][1], IN[0], IMM[0] ABS OUT[0], TEMPX[0][TEMP[0]]