Re: [Mesa-dev] [PATCH 2/2] i965: Handle nested uniform array indexing

2014-11-18 Thread Kenneth Graunke
On Tuesday, November 18, 2014 09:15:06 PM Chris Forbes wrote: > When converting a uniform array reference to a pull constant load, the > `reladdr` expression itself may have its own `reladdr`, arbitrarily > deeply. This arises from expressions like: > >a[b[x]] where a, b are uniform arrays

[Mesa-dev] [PATCH 2/2] i965: Handle nested uniform array indexing

2014-11-18 Thread Chris Forbes
When converting a uniform array reference to a pull constant load, the `reladdr` expression itself may have its own `reladdr`, arbitrarily deeply. This arises from expressions like: a[b[x]] where a, b are uniform arrays (or lowered const arrays), and x is not a constant. Jus