<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt">Hi all,<div style="display: block;" class="yahoo_quoted"><div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 10pt;"><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"><div class="y_msg_container"><div id="yiv0629606964"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt;"><div style="" class="yiv0629606964"><br style=""></div><div class="yiv0629606964" style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;">First of all sorry for the newbie question but I'm having trouble figuring
 out what I need to do next for the arrays of arrays implementation. I'm just looking for some quick pointers in the right direction.</div><div class="yiv0629606964" style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><br style="" class="yiv0629606964"></div><div class="yiv0629606964" style="color:rgb(0, 0, 0);font-size:13.3333px;
font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;">I'm currently looking at what needs to be done to update ir_set_program_inouts.cpp my current thinking is I need flatten any multidimensional array indices into a single 1D index for marking as used in the bitfield which is fine (please correct me if I'm heading in the wrong direction). However for this to work obviously the elements order is important, where is the code that assocates the locations in for example the InputsRead bitfield with an array itself in other words how to I make sure a flattened index is marking the correct spot as read? I'm assuming this code would also need to be updated for multidimensional arrays.</div><div class="yiv0629606964" style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande,
 sans-serif;background-color:transparent;font-style:normal;"><br style="" class="yiv0629606964"></div><div class="yiv0629606964" style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;">Or am I totally off track? Maybe all of this could be avoided by using some kind of lowering pass to flattern multidimensional arrays to single dimensional arrays (or 2D array for gemotry shaders input) before ir_set_program_inouts is called and any linking is done? This would probably solve any issues with uniform linking also.<br></div><div class="yiv0629606964" style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><br></div><div class="yiv0629606964" style="color:rgb(0, 0,
 0);font-size:13.3333px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;
font-style:normal;">I hope my questions make sense. If not people feel free to ignore my questions and just point me in the right direction.</div><div class="yiv0629606964" style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><br></div><div class="yiv0629606964" style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;">Thanks,</div><div class="yiv0629606964" style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;">Tim<br></div></div></div></div><br><br></div>  </div> </div>  </div> </div></body></html>