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/glsl_types.h | |
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/glsl_types.h')
-rw-r--r-- | src/glsl/glsl_types.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/glsl/glsl_types.h b/src/glsl/glsl_types.h index 96eee5e..fb7c928 100644 --- a/src/glsl/glsl_types.h +++ b/src/glsl/glsl_types.h @@ -634,6 +634,12 @@ struct glsl_struct_field { * in ir_variable::centroid). 0 otherwise. */ unsigned centroid:1; + + /** + * For interface blocks, 1 if this variable uses sample interpolation (as + * in ir_variable::sample). 0 otherwise. + */ + unsigned sample:1; }; static inline unsigned int |