From 51c5fc85e11858b11cf2a3c89ff8052fbc67faab Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Fri, 29 Nov 2013 21:26:10 +1300 Subject: glsl: Add ir support for `sample` qualifier; adjust compiler and linker Signed-off-by: Chris Forbes Reviewed-by: Francisco Jerez --- src/glsl/lower_named_interface_blocks.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/glsl/lower_named_interface_blocks.cpp') diff --git a/src/glsl/lower_named_interface_blocks.cpp b/src/glsl/lower_named_interface_blocks.cpp index d59d111..aa4c110 100644 --- a/src/glsl/lower_named_interface_blocks.cpp +++ b/src/glsl/lower_named_interface_blocks.cpp @@ -157,6 +157,7 @@ flatten_named_interface_blocks_declarations::run(exec_list *instructions) new_var->interpolation = iface_t->fields.structure[i].interpolation; new_var->centroid = iface_t->fields.structure[i].centroid; + new_var->sample = iface_t->fields.structure[i].sample; new_var->init_interface_type(iface_t); hash_table_insert(interface_namespace, new_var, -- cgit v1.1