mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-29 08:00:12 +01:00
i965/compute: Allow ARB_compute_shader in compat profile
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97447 Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Tested-by: Evan Odabashian <eodabash@gmail.com> Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
This commit is contained in:
parent
4d5346aaac
commit
7bcb94bc2f
1 changed files with 1 additions and 1 deletions
|
|
@ -501,7 +501,7 @@ brw_initialize_context_constants(struct brw_context *brw)
|
|||
[MESA_SHADER_GEOMETRY] = brw->gen >= 6,
|
||||
[MESA_SHADER_FRAGMENT] = true,
|
||||
[MESA_SHADER_COMPUTE] =
|
||||
(ctx->API == API_OPENGL_CORE &&
|
||||
((ctx->API == API_OPENGL_COMPAT || ctx->API == API_OPENGL_CORE) &&
|
||||
ctx->Const.MaxComputeWorkGroupSize[0] >= 1024) ||
|
||||
(ctx->API == API_OPENGLES2 &&
|
||||
ctx->Const.MaxComputeWorkGroupSize[0] >= 128) ||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue