diff options
author | Samuel Iglesias Gonsalvez <siglesias@igalia.com> | 2014-06-10 08:45:43 +0200 |
---|---|---|
committer | Iago Toral Quiroga <itoral@igalia.com> | 2014-06-30 08:08:49 +0200 |
commit | a7e6ec68985dda9ca70c3eeb4fa9d807b67f7c99 (patch) | |
tree | 90940ad0089512c39e6c96ded1f9250ad213e1cd /src/glsl/glsl_types.h | |
parent | 15b5e663b050505683b7b4c9c489e46863b8441d (diff) | |
download | external_mesa3d-a7e6ec68985dda9ca70c3eeb4fa9d807b67f7c99.zip external_mesa3d-a7e6ec68985dda9ca70c3eeb4fa9d807b67f7c99.tar.gz external_mesa3d-a7e6ec68985dda9ca70c3eeb4fa9d807b67f7c99.tar.bz2 |
glsl: Add parsing support for multi-stream output in geometry shaders.
This implements parsing requirements for multi-stream support in
geometry shaders as defined in ARB_gpu_shader5.
Signed-off-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
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 f6d4a02..0b63d48 100644 --- a/src/glsl/glsl_types.h +++ b/src/glsl/glsl_types.h @@ -671,6 +671,12 @@ struct glsl_struct_field { * in ir_variable::sample). 0 otherwise. */ unsigned sample:1; + + /** + * For interface blocks, it has a value if this variable uses multiple vertex + * streams (as in ir_variable::stream). -1 otherwise. + */ + int stream; }; static inline unsigned int |