diff options
author | Samuel Pitoiset <samuel.pitoiset@gmail.com> | 2016-02-13 22:49:37 +0100 |
---|---|---|
committer | Samuel Pitoiset <samuel.pitoiset@gmail.com> | 2016-02-13 23:13:31 +0100 |
commit | 40fcb6b9f95050370af0fef11abd12e16b8cc7d0 (patch) | |
tree | 909865050df56ffbde2cb5e7288faca01e19a3c4 /src/mesa/drivers/dri/i965/brw_context.c | |
parent | 7f0a19400eb26f555a0db535eff156a0a5091cb3 (diff) | |
download | external_mesa3d-40fcb6b9f95050370af0fef11abd12e16b8cc7d0.zip external_mesa3d-40fcb6b9f95050370af0fef11abd12e16b8cc7d0.tar.gz external_mesa3d-40fcb6b9f95050370af0fef11abd12e16b8cc7d0.tar.bz2 |
i965: fix MAX_COMPUTE_SHARED_SIZE constant value
MAX_COMPUTE_SHARED_SIZE should be set to 32768. This fixes a regression
introduced in be27f77 (mesa: do not use a constant for
MAX_COMPUTE_SHARED_SIZE).
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94139
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_context.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_context.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c index a5f7a2e..972b62e 100644 --- a/src/mesa/drivers/dri/i965/brw_context.c +++ b/src/mesa/drivers/dri/i965/brw_context.c @@ -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; } /** |