summaryrefslogtreecommitdiffstats
path: root/m4/.gitignore
diff options
context:
space:
mode:
authorPaul Berry <[email protected]>2012-12-04 10:34:45 -0800
committerPaul Berry <[email protected]>2012-12-14 10:49:05 -0800
commit25ed3bef9b84c06cda06c9e77ff733d1ba863bf5 (patch)
tree0c1974b519685c7860f5f421bc36338dec25f75f /m4/.gitignore
parent3e81c666db6940675eca623044e5b372dc6b7756 (diff)
glsl/linker: Defer recording transform feedback locations.
This patch subdivides the loop that assigns varying locations into two phases: one phase to match up varyings between shader stages (and assign them varying locations), and a second phase to record the varying assignments for use by transform feedback. This paves the way for varying packing, which will require us to further subdivide the first phase. In addition, it lets us avoid a clumsy O(n^2) algorithm, since we can now record the locations of all transform feedback varyings in a single pass through the tfeedback_decls array, rather than have to iterate through the array after assigning each varying. Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'm4/.gitignore')
0 files changed, 0 insertions, 0 deletions