glsl: Cross-validate explicit binding points.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 16 Jul 2013 19:18:57 +0000 (12:18 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 18 Jul 2013 23:57:24 +0000 (16:57 -0700)
commit9a9a830b445b5dbd70a4155e0e5e8b896abfb868
treed1c62c46417581696665e7744d82b62f1192eadf
parentd4375fc0166a2ca50c4786ea93b5a5ccdbc8eaf7
glsl: Cross-validate explicit binding points.

All compilation units need to agree on the binding point, if they
specify one at all.

v2: Use binding, not constant_value.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
src/glsl/linker.cpp