From 9f59cb2cdae15dc21cd9d27e4f80d0f8c841beef Mon Sep 17 00:00:00 2001
From: Eleni Maria Stea
Date: Fri, 4 Aug 2017 20:20:12 +0300
Subject: [PATCH] docs: removed the '--with-sha1' requirement from shading.html
MIME-Version: 1.0
Content-Type: text/plain; charset=utf8
Content-Transfer-Encoding: 8bit
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
---
docs/shading.html | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
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
--
2.30.2