Revert "Revert "i965: Switch to scalar TCS by default.""
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 9 May 2016 04:49:34 +0000 (21:49 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 9 May 2016 23:20:27 +0000 (16:20 -0700)
This reverts commit bd326c229c528a214c9fda705e7a961cfa49ac9e.

Now that we've fixed the GPU hangs, let's turn it back on.

Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
src/mesa/drivers/dri/i965/brw_compiler.c

index 9977d792679bf867323a0546519e7c468d475f44..0ea5e8bba408006dc7ea554f2d35b31db14d99d6 100644 (file)
@@ -153,7 +153,7 @@ brw_compiler_create(void *mem_ctx, const struct brw_device_info *devinfo)
    compiler->scalar_stage[MESA_SHADER_VERTEX] =
       devinfo->gen >= 8 && !(INTEL_DEBUG & DEBUG_VEC4VS);
    compiler->scalar_stage[MESA_SHADER_TESS_CTRL] =
-      devinfo->gen >= 8 && env_var_as_boolean("INTEL_SCALAR_TCS", false);
+      devinfo->gen >= 8 && env_var_as_boolean("INTEL_SCALAR_TCS", true);
    compiler->scalar_stage[MESA_SHADER_TESS_EVAL] =
       devinfo->gen >= 8 && env_var_as_boolean("INTEL_SCALAR_TES", true);
    compiler->scalar_stage[MESA_SHADER_GEOMETRY] =