mesa: store shared size in gl_compute_program
[mesa.git] / src / mesa / main / mtypes.h
index 840e22664c5e0840299f907b1d7f7db4459b029a..432cda9caeeb914024a5cb1b51cf73ad86c9eb73 100644 (file)
@@ -2044,6 +2044,11 @@ struct gl_compute_program
     * Size specified using local_size_{x,y,z}.
     */
    unsigned LocalSize[3];
+
+   /**
+    * Size of shared variables accessed by the compute shader.
+    */
+   unsigned SharedSize;
 };