diff options
author | Jordan Justen <[email protected]> | 2017-02-25 02:30:06 -0800 |
---|---|---|
committer | Jordan Justen <[email protected]> | 2017-10-31 23:46:53 -0700 |
commit | 1a61a8b9a7c7cdbb42b74a76c2ec825f7107cc83 (patch) | |
tree | 5527eaff0dbb79bae3f4b5bc60f314be6d04728a /docs/relnotes | |
parent | ccb700526f647e0d02cb1c500b6aee083ba1b9d7 (diff) |
i965: Initialize disk shader cache if MESA_GLSL_CACHE_DISABLE is false
(Apologies for the double negative.)
For now, the shader cache is disabled by default on i965 to allow us
to verify its stability.
In other words, to enable the shader cache on i965, set
MESA_GLSL_CACHE_DISABLE to false or 0. If the variable is unset, then
the shader cache will be disabled.
We use the build-id of i965_dri.so for the timestamp, and the pci
device id for the device name.
v2:
* Simplify code by forcing link to include build id sha. (Matt)
v3:
* Don't use a for loop with snprintf for bin to hex. (Matt)
* Assume fixed length render and timestamp string to further simplify
code.
Cc: Matt Turner <[email protected]>
Signed-off-by: Jordan Justen <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'docs/relnotes')
-rw-r--r-- | docs/relnotes/17.4.0.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/relnotes/17.4.0.html b/docs/relnotes/17.4.0.html index e4dd6bf7b70..f81b5bd62d3 100644 --- a/docs/relnotes/17.4.0.html +++ b/docs/relnotes/17.4.0.html @@ -44,7 +44,7 @@ Note: some of the new features are only available with certain drivers. </p> <ul> -TBD +<li>Disk shader cache support for i965 when MESA_GLSL_CACHE_DISABLE environment variable is set to "0" or "false"</li> </ul> <h2>Bug fixes</h2> |