summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorIago Toral Quiroga <[email protected]>2015-03-23 11:19:12 +0100
committerSamuel Iglesias Gonsalvez <[email protected]>2015-07-14 07:04:03 +0200
commitdf89ed1591c9d1c55e79fe8effb976c21b172a7d (patch)
tree00aa4d0016adafd67a3701b7cf95857833917a68 /src/mesa
parenta78a589efc5440443439d474e45fa1ef8b79178c (diff)
glsl: Identify active uniform blocks that are buffer blocks as such.
Reviewed-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/mtypes.h5
1 files changed, 5 insertions, 0 deletions
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
@@ -2565,6 +2565,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
*
* This isn't accessible through the API, but it is used while