Mesa (master): swr: [rasterizer scripts] add DEBUG_OUTPUT_DIR knob

Tim Rowley torowley at kemper.freedesktop.org
Fri Oct 14 05:10:04 UTC 2016


Module: Mesa
Branch: master
Commit: f0a66c1da26eb35d2032b8100b96ad73aa22b836
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f0a66c1da26eb35d2032b8100b96ad73aa22b836

Author: Tim Rowley <timothy.o.rowley at intel.com>
Date:   Thu Oct 13 10:32:58 2016 -0500

swr: [rasterizer scripts] add DEBUG_OUTPUT_DIR knob

Signed-off-by: Tim Rowley <timothy.o.rowley at intel.com>

---

 src/gallium/drivers/swr/rasterizer/scripts/knob_defs.py | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/src/gallium/drivers/swr/rasterizer/scripts/knob_defs.py b/src/gallium/drivers/swr/rasterizer/scripts/knob_defs.py
index b269545..3c6940d 100644
--- a/src/gallium/drivers/swr/rasterizer/scripts/knob_defs.py
+++ b/src/gallium/drivers/swr/rasterizer/scripts/knob_defs.py
@@ -154,6 +154,13 @@ KNOBS = [
     }],
 
 
+    ['DEBUG_OUTPUT_DIR', {
+        'type'      : 'std::string',
+        'default'   : '/tmp/Rast/DebugOutput',
+        'desc'      : ['Output directory for debug data.'],
+        'category'  : 'debug',
+    }],
+
     ['TOSS_DRAW', {
         'type'      : 'bool',
         'default'   : 'false',




More information about the mesa-commit mailing list