diff options
author | Paul Berry <[email protected]> | 2012-12-05 07:17:07 -0800 |
---|---|---|
committer | Paul Berry <[email protected]> | 2012-12-14 10:48:35 -0800 |
commit | 50895d443ae7b96cb7de6b41857393d4e129d6eb (patch) | |
tree | a95d8f1e6693dbb62d13924c2c848f9bebf4288e /doxygen/doxy.bat | |
parent | 18392443d448e083187d085965375e7de910b18a (diff) |
glsl/linker: Always invalidate shader ins/outs, even in corner cases.
Previously, link_invalidate_variable_locations() was only called
during assign_attribute_or_color_locations() and
assign_varying_locations(). This meant that in the corner case when
there was only a vertex shader, and varyings were being captured by
transform feedback, link_invalidate_variable_locations() wasn't being
called for the varyings.
This patch migrates the calls to link_invalidate_variable_locations()
to link_shaders(), so that they will be called in all circumstances.
In addition, it modifies the call semantics so that
link_invalidate_variable_locations() need only be called once per
shader stage (rather than once for inputs and once for outputs).
Reviewed-by: Eric Anholt <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'doxygen/doxy.bat')
0 files changed, 0 insertions, 0 deletions