i965: Enable disk shader cache by default
authorJordan Justen <jordan.l.justen@intel.com>
Wed, 8 Nov 2017 23:42:14 +0000 (15:42 -0800)
committerJordan Justen <jordan.l.justen@intel.com>
Wed, 21 Feb 2018 02:49:43 +0000 (18:49 -0800)
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Acked-by: Kenneth Graunke <kenneth@whitecape.org>
docs/relnotes/18.1.0.html
src/mesa/drivers/dri/i965/brw_disk_cache.c

index 93cf1f2b4ff7f68070bedbb94e992db5e3e05116..0aca0aa1abe4587d54bb4279a5b5730b98d90c14 100644 (file)
@@ -47,6 +47,7 @@ Note: some of the new features are only available with certain drivers.
 <li>GL_ARB_bindless_texture on nvc0/maxwell+</li>
 <li>GL_EXT_semaphore on radeonsi</li>
 <li>GL_EXT_semaphore_fd on radeonsi</li>
+<li>Disk shader cache support for i965 enabled by default</li>
 </ul>
 
 <h2>Bug fixes</h2>
index f989456bcde3252779305215c4f6b35a45051991..41f742e858fb5919f123937bb516a4aa26cb9eac 100644 (file)
@@ -407,9 +407,6 @@ void
 brw_disk_cache_init(struct intel_screen *screen)
 {
 #ifdef ENABLE_SHADER_CACHE
-   if (env_var_as_boolean("MESA_GLSL_CACHE_DISABLE", true))
-      return;
-
    char renderer[10];
    MAYBE_UNUSED int len = snprintf(renderer, sizeof(renderer), "i965_%04x",
                                    screen->deviceID);