commit | e58be8ac0e7ce53ed02721e1432a15f95b026b57 | [log] [tgz] |
---|---|---|
author | Timothy Arceri <timothy.arceri@collabora.com> | Wed Jan 06 20:22:46 2016 +1100 |
committer | Timothy Arceri <timothy.arceri@collabora.com> | Thu Jan 07 09:44:32 2016 +1100 |
tree | a9bc05896c93b73b24e767ebc3573136009659eb | |
parent | 47dde2bd45eb5053042a20f70c6f0b7a86ebf1b1 [diff] |
glsl: fix varying slot allocation for blocks and structs with explicit locations Previously each member was being counted as using a single slot, count_attribute_slots() fixes the count for array and struct members. Also don't assign a negitive to the unsigned expl_location variable. Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>