Re: [Mesa-dev] [PATCH 1/5] glsl/ir: add param index to variable.

2016-02-08 Thread Timothy Arceri
On Mon, 2016-02-08 at 13:45 +1000, Dave Airlie wrote: > From: Dave Airlie > > We have a requirement to store the index into the mesa parameterlist > for uniforms. Up until now we've overwritten var->data.location with > this info. However this then stops us accessing UniformStorage, > which is ne

[Mesa-dev] [PATCH 1/5] glsl/ir: add param index to variable.

2016-02-07 Thread Dave Airlie
From: Dave Airlie We have a requirement to store the index into the mesa parameterlist for uniforms. Up until now we've overwritten var->data.location with this info. However this then stops us accessing UniformStorage, which is needed to do proper dereferencing. Add a new variable to ir_variabl