summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2012-05-01 13:34:04 -0700
committerEric Anholt <[email protected]>2012-07-20 10:43:42 -0700
commit093b20666d73f8fc410dc7bf168ab7197756b1f5 (patch)
tree96465b8d40f52dec6d657f859f602b531498e975 /src/mesa/main
parent9f1a4a6340824786142be9bc14f0c3418f14a69f (diff)
glsl: Set the uniform_block index for the linked shader variables.
At this point in the linking, we've totally lost track of the struct gl_uniform_buffer that this pointed to in the original unlinked shader, so we do a nasty n^2 walk to find it the new one based on the variable name. Note that these point into the shader's list of gl_uniform_buffers, not the linked program's. Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/main')
0 files changed, 0 insertions, 0 deletions