i965: remove ARB_compute_shader extension override
authorEmil Velikov <emil.velikov@collabora.com>
Tue, 24 Oct 2017 14:21:40 +0000 (15:21 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 16 Nov 2017 14:06:57 +0000 (14:06 +0000)
Checking the override was useful in the early stages of developing the
extension.

Now that everything is wired, where possible, we can drop the check.
Doing so allows us to simplify some of the related code.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/mesa/drivers/dri/i965/brw_context.c

index bc032dc5f69cf52c14c897e0fd953efc1c6573cc..f49ac4480af55a19b6e7d234f18cdf8e23ac3c63 100644 (file)
@@ -348,8 +348,7 @@ brw_initialize_context_constants(struct brw_context *brw)
          (_mesa_is_desktop_gl(ctx) &&
           ctx->Const.MaxComputeWorkGroupSize[0] >= 1024) ||
          (ctx->API == API_OPENGLES2 &&
-          ctx->Const.MaxComputeWorkGroupSize[0] >= 128) ||
-         _mesa_extension_override_enables.ARB_compute_shader,
+          ctx->Const.MaxComputeWorkGroupSize[0] >= 128),
    };
 
    unsigned num_stages = 0;