From 89bc3ee988b62eb5e10284bac32a176955546410 Mon Sep 17 00:00:00 2001 From: marha Date: Fri, 19 Jul 2013 08:30:15 +0200 Subject: mesa xkbcomp git update 19 Jul 2013 xkbcomp commit 0ebdf47fd4bc434ac3d2339544c022a869510738 esa commit 9f07ca11c1797ac12de1e1c6aef13cf58824b5f5 --- mesalib/src/glsl/ir.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'mesalib/src/glsl/ir.h') diff --git a/mesalib/src/glsl/ir.h b/mesalib/src/glsl/ir.h index 1f0dc0906..7ac291cf4 100644 --- a/mesalib/src/glsl/ir.h +++ b/mesalib/src/glsl/ir.h @@ -470,6 +470,14 @@ public: unsigned explicit_location:1; unsigned explicit_index:1; + /** + * Was an initial binding explicitly set in the shader? + * + * If so, constant_value contains an integer ir_constant representing the + * initial binding point. + */ + unsigned explicit_binding:1; + /** * Does this variable have an initializer? * @@ -527,6 +535,13 @@ public: */ int index; + /** + * Initial binding point for a sampler or UBO. + * + * For array types, this represents the binding point for the first element. + */ + int binding; + /** * Built-in state that backs this uniform * -- cgit v1.2.3