glsl: Add ir_variable fields for explicit bindings.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 18 Jul 2013 22:10:49 +0000 (15:10 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 18 Jul 2013 23:57:24 +0000 (16:57 -0700)
commit4da1504c0fd0cfccbff514ed03c4dc5deb24cf73
treef7f5475ead39c5734c9f9ec17821ee7ec57f573f
parent5e5e12040beb40ff93797d55c913ebe6cd00c2ae
glsl: Add ir_variable fields for explicit bindings.

These are not used yet, but they exist and are copied appropriately.

v2: Add an explicit "int binding" variable rather than reusing
    constant_value, as suggested by Paul Berry.

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