Commit 40fcb6b9 authored by Samuel Pitoiset's avatar Samuel Pitoiset
Browse files

i965: fix MAX_COMPUTE_SHARED_SIZE constant value

MAX_COMPUTE_SHARED_SIZE should be set to 32768. This fixes a regression
introduced in be27f772 (mesa: do not use a constant for


Signed-off-by: Samuel Pitoiset's avatarSamuel Pitoiset <>
Reviewed-by: Jordan Justen's avatarJordan Justen <>
Reviewed-by: Ilia Mirkin's avatarIlia Mirkin <>
Reviewed-by: Kenneth Graunke's avatarKenneth Graunke <>
parent 7f0a1940
......@@ -710,6 +710,7 @@ brw_initialize_cs_context_constants(struct brw_context *brw, unsigned max_thread
ctx->Const.MaxComputeWorkGroupSize[1] = max_invocations;
ctx->Const.MaxComputeWorkGroupSize[2] = max_invocations;
ctx->Const.MaxComputeWorkGroupInvocations = max_invocations;
ctx->Const.MaxComputeSharedMemorySize = 32768;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment