summaryrefslogtreecommitdiffstats
path: root/src/mesa/x86-64
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-02-18 14:24:14 -0700
committerBrian Paul <[email protected]>2009-02-18 14:28:44 -0700
commitdac19f17f360b730a0e6d651ef2e5b03c59b9b53 (patch)
tree1f78e6d06138398ee5ffe26ed9fe8e88529dde9c /src/mesa/x86-64
parentbe3813d58adc0060c9f7a13ac7865217b96ea477 (diff)
glsl: fix link failure for variable-indexed varying output arrays
If the vertex shader writes to a varying array with a variable index, mark all the elements of that array as being written. For example, if the vertex shader does: for (i = 0; i < 4; i++) gl_TexCoord[i] = expr; Mark all texcoord outputs as being written, not just the first. Linking will fail if a fragment shader tries to read an input that's not written by the vertex shader. Before this fix, this linker test could fail.
Diffstat (limited to 'src/mesa/x86-64')
0 files changed, 0 insertions, 0 deletions