From: Jordan Justen Date: Wed, 8 Nov 2017 23:42:14 +0000 (-0800) Subject: i965: Enable disk shader cache by default X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=96fe36f7acc62130c40a8881c02ad6b8155b5533;p=mesa.git i965: Enable disk shader cache by default Signed-off-by: Jordan Justen Reviewed-by: Timothy Arceri Reviewed-by: Tapani Pälli Acked-by: Kenneth Graunke --- diff --git a/docs/relnotes/18.1.0.html b/docs/relnotes/18.1.0.html index 93cf1f2b4ff..0aca0aa1abe 100644 --- a/docs/relnotes/18.1.0.html +++ b/docs/relnotes/18.1.0.html @@ -47,6 +47,7 @@ Note: some of the new features are only available with certain drivers.
  • GL_ARB_bindless_texture on nvc0/maxwell+
  • GL_EXT_semaphore on radeonsi
  • GL_EXT_semaphore_fd on radeonsi
  • +
  • Disk shader cache support for i965 enabled by default
  • Bug fixes

    diff --git a/src/mesa/drivers/dri/i965/brw_disk_cache.c b/src/mesa/drivers/dri/i965/brw_disk_cache.c index f989456bcde..41f742e858f 100644 --- a/src/mesa/drivers/dri/i965/brw_disk_cache.c +++ b/src/mesa/drivers/dri/i965/brw_disk_cache.c @@ -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);