diff options
author | Timothy Arceri <[email protected]> | 2015-12-15 16:40:26 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2016-01-07 09:06:20 +1100 |
commit | ac6e2c2056469226fdeefb96bee632546f45a0fb (patch) | |
tree | ce353567f0be3cb2d5f917b34fb2514772bdf0a5 /src/glsl/Android.mk | |
parent | 5907a02ab6fbe20b4ba58eb00bf93261129798d5 (diff) |
glsl: fix overlapping of varying locations for arrays and structs
Previously we were only reserving a single location for arrays and
structs.
We also didn't take into account implicit locations clashing with
explicit locations when assigning locations for their arrays or
structs.
This patch fixes both issues.
V5: fix regression for patch inputs/outputs in tessellation shaders
V4: just use count_attribute_slots() to get the number of slots,
also calculate the correct number of slots to reserve for gs and
tess stages by making use of the new get_varying_type() helper.
V3: handle arrays of structs
V2: also fix for arrays of arrays and structs.
Acked-by: Anuj Phogat <[email protected]>
Reviewed-by: Edward O'Callaghan <[email protected]>
Diffstat (limited to 'src/glsl/Android.mk')
0 files changed, 0 insertions, 0 deletions