summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2019-04-03 14:22:16 -0400
committerMarek Olšák <[email protected]>2019-04-04 19:28:52 -0400
commit4e1e8f684bf57df90afd60b460d65d9c09ab0d08 (patch)
tree1b331853a3919a1ce4728217b68fb8889fd82664 /src/mesa/main
parent66a82ec6f0fa3586fecee001da6bae1fc33f12d1 (diff)
glsl: remember which SSBOs are not read-only and pass it to gallium
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/mesa/main')
-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 c1dc52b2ec4..1f70f048bd3 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -2169,6 +2169,11 @@ struct gl_program
struct gl_uniform_block **UniformBlocks;
struct gl_uniform_block **ShaderStorageBlocks;
+ /**
+ * Bitmask of shader storage blocks not declared as read-only.
+ */
+ unsigned ShaderStorageBlocksWriteAccess;
+
/** Which texture target is being sampled
* (TEXTURE_1D/2D/3D/etc_INDEX)
*/