glsl/linker: Make separate allocations to track vertex and fragment shaders.
authorPaul Berry <stereotype441@gmail.com>
Wed, 31 Jul 2013 05:38:43 +0000 (22:38 -0700)
committerPaul Berry <stereotype441@gmail.com>
Fri, 2 Aug 2013 03:20:41 +0000 (20:20 -0700)
commit844bd71736dd59808e1ea4319800db042a7c4267
tree0233e79e28643773e59ee030ed4d01827e74f955
parentff523771833cf2cfb6d69d61e86a28c26b8400be
glsl/linker: Make separate allocations to track vertex and fragment shaders.

There's no reason to be clever about this.  By making separate
allocations for vertex and fragment shaders, we'll allow geometry
shaders to be added without introducing any complication.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/linker.cpp