Ian Romanick <i...@freedesktop.org> writes: > On 07/02/2012 05:38 PM, Eric Anholt wrote: >> 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. > > And this works when a shader is linked to multiple programs because it's > the copy of the original shader. Right?
Yeah, it's the linked shader, not the original shader.
pgpVzAMyilSlu.pgp
Description: PGP signature
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev