[Mesa-dev] [PATCH 0/5] Varying packing improvements

Paul Berry stereotype441 at gmail.com
Wed Jan 2 10:59:39 PST 2013

This is a re-send of a patch series from Dec 19 (I think most people
went away on holiday and didn't get a chance to review it).  It cleans
up the following shortcomings of my previous varying packing series:

- It contained a silly duplicate copy of the ALIGN() macro.

- It made linker.cpp enormous.

- It permitted bools and structs to be used as varyings, even though
  this is prohibited by GLSL (and I suspect it didn't work correctly

- It wasn't able to pack ints, uints, and floats into the same varying

[PATCH 1/5] mesa: Add ALIGN() macro to main/macros.h.
[PATCH 2/5] glsl: Separate varying linking code to its own file.
[PATCH 3/5] glsl: Plumb through is_parameter to apply_type_qualifier_to_variable()
[PATCH 4/5] glsl: Prohibit structs and bools from being used as "varyings".
[PATCH 5/5] glsl: Pack flat "varyings" of mixed types together.

More information about the mesa-dev mailing list