summaryrefslogtreecommitdiffstats
path: root/doxygen
diff options
context:
space:
mode:
authorPaul Berry <[email protected]>2012-12-04 15:55:59 -0800
committerPaul Berry <[email protected]>2012-12-14 10:49:08 -0800
commiteb989e37cb7ed2e3268959bdd869dc305177e468 (patch)
tree48ecb29e4addbbb5735961813ff0e8513045150e /doxygen
parent25ed3bef9b84c06cda06c9e77ff733d1ba863bf5 (diff)
glsl/linker: Subdivide the first phase of varying assignment.
This patch further subdivides the loop that assigns varying locations into two phases: one phase to match up the varyings between shader stages, and one phase to assign them varying locations. In between the two phases the matched varyings are stored in a new data structure called varying_matches. This will free us to be able to assign varying locations in any order, which will pave the way for packing varyings. Note that the new varying_matches::assign_locations() function returns the number of varying slots that were used; this return value will be used in a future patch. Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'doxygen')
0 files changed, 0 insertions, 0 deletions