From df89ed1591c9d1c55e79fe8effb976c21b172a7d Mon Sep 17 00:00:00 2001 From: Iago Toral Quiroga Date: Mon, 23 Mar 2015 11:19:12 +0100 Subject: glsl: Identify active uniform blocks that are buffer blocks as such. Reviewed-by: Jordan Justen --- src/mesa/main/mtypes.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/mesa') diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index 9ec342bea48..86508c36f6a 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -2564,6 +2564,11 @@ struct gl_uniform_block */ GLuint UniformBufferSize; + /** + * Is this actually an interface block for a shader storage buffer? + */ + bool IsShaderStorage; + /** * Layout specified in the shader * -- cgit v1.2.3