summaryrefslogtreecommitdiffstats
path: root/src/glsl/lower_named_interface_blocks.cpp
diff options
context:
space:
mode:
authorChris Forbes <chrisf@ijw.co.nz>2013-11-29 21:26:10 +1300
committerChris Forbes <chrisf@ijw.co.nz>2013-12-07 17:14:58 +1300
commit51c5fc85e11858b11cf2a3c89ff8052fbc67faab (patch)
treecdeccbdd94495f94a7977488c908932615d10a9d /src/glsl/lower_named_interface_blocks.cpp
parent51aa15aca2bf5764b8cd62bbf2329eda40f7a859 (diff)
downloadexternal_mesa3d-51c5fc85e11858b11cf2a3c89ff8052fbc67faab.zip
external_mesa3d-51c5fc85e11858b11cf2a3c89ff8052fbc67faab.tar.gz
external_mesa3d-51c5fc85e11858b11cf2a3c89ff8052fbc67faab.tar.bz2
glsl: Add ir support for `sample` qualifier; adjust compiler and linker
Signed-off-by: Chris Forbes <chrisf@ijw.co.nz> Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Diffstat (limited to 'src/glsl/lower_named_interface_blocks.cpp')
-rw-r--r--src/glsl/lower_named_interface_blocks.cpp1
1 files changed, 1 insertions, 0 deletions
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,