diff options
author | Timothy Arceri <[email protected]> | 2016-01-06 20:22:46 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2016-01-07 09:44:32 +1100 |
commit | e58be8ac0e7ce53ed02721e1432a15f95b026b57 (patch) | |
tree | a9bc05896c93b73b24e767ebc3573136009659eb /src/glsl/ir_hierarchical_visitor.cpp | |
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 <[email protected]>
Diffstat (limited to 'src/glsl/ir_hierarchical_visitor.cpp')
0 files changed, 0 insertions, 0 deletions