--- src/compiler/shader_info.h | 10 ++++++++++ 1 file changed, 10 insertions(+)
diff --git a/src/compiler/shader_info.h b/src/compiler/shader_info.h index 502c7c8..66e06ad 100644 --- a/src/compiler/shader_info.h +++ b/src/compiler/shader_info.h @@ -114,6 +114,16 @@ typedef struct shader_info { struct { unsigned local_size[3]; + + /** + * Size of shared variables accessed by the compute shader. + */ + unsigned shared_size; + + /** + * Whether a variable work group size has been specified. + */ + bool local_size_variable; } cs; struct { -- 2.7.4 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev