diff options
author | Paul Berry <[email protected]> | 2014-01-06 15:11:40 -0800 |
---|---|---|
committer | Paul Berry <[email protected]> | 2014-02-05 09:02:30 -0800 |
commit | c85c50997f073993b86c694dda7c18bbaca30bbf (patch) | |
tree | e69f338c0fac2c9bf9151cc3c2091f5ed3ac4535 /src/mesa/main/context.c | |
parent | 347dde82e65663562d6d2930bf861ec8c8079362 (diff) |
mesa/cs: Implement MAX_COMPUTE_WORK_GROUP_INVOCATIONS constant.
Reviewed-by: Matt Turner <[email protected]>
v2: Use CONTEXT_INT rather than CONTEXT_ENUM.
Reviewed-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r-- | src/mesa/main/context.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index abebd82874a..4cf86bc5150 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -705,6 +705,7 @@ _mesa_init_constants(struct gl_context *ctx) ctx->Const.MaxComputeWorkGroupSize[0] = 1024; ctx->Const.MaxComputeWorkGroupSize[1] = 1024; ctx->Const.MaxComputeWorkGroupSize[2] = 64; + ctx->Const.MaxComputeWorkGroupInvocations = 1024; } |