From: Eleni Maria Stea
Date: Fri, 4 Aug 2017 17:20:12 +0000 (+0300)
Subject: docs: removed the '--with-sha1' requirement from shading.html
X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9f59cb2cdae15dc21cd9d27e4f80d0f8c841beef;p=mesa.git
docs: removed the '--with-sha1' requirement from shading.html
The configuration option --with-sha1 is no longer required for the
MESA_SHADER_READ_PATH, MESA_SHADER_DUMP_PATH environment variables
to take effect.
1- removed the "--with-sha1" sentence from docs/shading.html
2- added an extra note: that the corresponding dumped and replacement
shaders must have the same filenames for the feature to take effect.
Acked-by: Tapani Pälli
---
diff --git a/docs/shading.html b/docs/shading.html
index c789102e641..8b4cfb36a1f 100644
--- a/docs/shading.html
+++ b/docs/shading.html
@@ -65,8 +65,7 @@ Example: export MESA_GLSL=dump,nopt
-Shaders can be dumped and replaced on runtime for debugging purposes. Mesa
-needs to be configured with '--with-sha1' to enable this functionality. This
+Shaders can be dumped and replaced on runtime for debugging purposes. This
feature is not currently supported by SCons build.
This is controlled via following environment variables:
@@ -76,7 +75,8 @@ This is controlled via following environment variables:
Note, path set must exist before running for dumping or replacing to work.
When both are set, these paths should be different so the dumped shaders do
-not clobber the replacement shaders.
+not clobber the replacement shaders. Also, the filenames of the replacement shaders
+should match the filenames of the corresponding dumped shaders.
GLSL Version