diff options
author | Paul Berry <[email protected]> | 2014-01-06 13:31:58 -0800 |
---|---|---|
committer | Paul Berry <[email protected]> | 2014-02-05 09:01:54 -0800 |
commit | 347dde82e65663562d6d2930bf861ec8c8079362 (patch) | |
tree | 5d01ef522b21bf323892375a5d3cd406efcc1b38 /src/glsl/glsl_parser_extras.h | |
parent | 47d480e3e4850ef8934775570444feea503295d7 (diff) |
mesa/cs: Implement MAX_COMPUTE_WORK_GROUP_SIZE constant.
v2: Document that the 3-element array MaxComputeWorkGroupSize is
indexed by dimension.
Reviewed-by: Matt Turner <[email protected]>
Reviewed-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/glsl/glsl_parser_extras.h')
-rw-r--r-- | src/glsl/glsl_parser_extras.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/glsl/glsl_parser_extras.h b/src/glsl/glsl_parser_extras.h index 6c0034d5008..802e0f0e635 100644 --- a/src/glsl/glsl_parser_extras.h +++ b/src/glsl/glsl_parser_extras.h @@ -250,6 +250,9 @@ struct _mesa_glsl_parse_state { unsigned MaxFragmentAtomicCounters; unsigned MaxCombinedAtomicCounters; unsigned MaxAtomicBufferBindings; + + /* ARB_compute_shader */ + unsigned MaxComputeWorkGroupSize[3]; } Const; /** |