diff options
author | Chris Forbes <chrisf@ijw.co.nz> | 2013-11-29 21:26:10 +1300 |
---|---|---|
committer | Chris Forbes <chrisf@ijw.co.nz> | 2013-12-07 17:14:58 +1300 |
commit | 51c5fc85e11858b11cf2a3c89ff8052fbc67faab (patch) | |
tree | cdeccbdd94495f94a7977488c908932615d10a9d /src/glsl/lower_named_interface_blocks.cpp | |
parent | 51aa15aca2bf5764b8cd62bbf2329eda40f7a859 (diff) | |
download | external_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.cpp | 1 |
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, |