[Mesa-dev] [PATCH V3 0/8] glsl: Start implementing ARB_arrays_of_arrays
Timothy Arceri
t_arceri at yahoo.com.au
Wed Jan 22 03:32:59 PST 2014
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.
More information about the mesa-dev
mailing list