diff options
author | Paul Berry <[email protected]> | 2013-01-11 12:56:03 -0800 |
---|---|---|
committer | Paul Berry <[email protected]> | 2013-01-24 16:30:43 -0800 |
commit | 1ecd23dea944dbf4cdd2c6bfa8ce0e0e09de8239 (patch) | |
tree | 7748f7f6118ee549a097fe9b2c8f950181ec32f1 /configure.ac | |
parent | 88e4bfde2639568fabde6f5342e305e5689c6a27 (diff) |
glsl: Update lower_packed_varyings to handle varying structs.
This patch adds code to lower_packed_varyings to handle varyings of
type struct. Varying structs are currently packed in the most naive
possible way (in declaration order, with no gaps), so there is a
potential loss of runtime efficiency. In a later patch it would be
nice to replace this with a "flattening" approach (wherein a varying
struct is flattened to individual varyings corresponding to each of
its structure elements), so that the linker can align each structure
element independently. However, that would require a significantly
more complex implementation.
Reviewed-by: Jordan Justen <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions