This is a first pass at implementing the ARB_arrays_of_arrays extension in Mesa.
This series allows the glsl front-end to parse and compile shaders that don't 
require linking of
arrays of arrays e.g. multi dimensional uniforms. I'm sending this extension in 
parts because my
time working on this is about to decrease and I'm not sure how long it will be 
before I finish the second half.
If this is not a good idea please let me know.

Patches 2-3 need to be squashed when committed but I've split them here to make 
reviewing easier.

Patch 4 is optional

What's missing is linking and backend support that goes with it. This includes 
the linking checks the spec talks about for geometry shaders.

No piglit regressions with these patches applied.

Compile tests have been submitted to the piglit mailing list, the extension 
just needs to be enabled in the driver code in order to test.

V3
- rebased on Paul Berry's awesome simplify aggregate type interface patch
- removed now redundant is_array
- made a bunch of other changes based on Paul Berry's advice

V2
- Removed patches 2 and 6 from the first version as it turns out they are not 
actually needed (left overs from my first attempt at the extension).
- Removed all unrelated whitespace changes, and other small whitespace cleanups
- Fixed order of array dimensions in glsl_type name.

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to