swr: [rasterizer scripts] add DEBUG_OUTPUT_DIR knob
authorTim Rowley <timothy.o.rowley@intel.com>
Thu, 13 Oct 2016 15:32:58 +0000 (10:32 -0500)
committerTim Rowley <timothy.o.rowley@intel.com>
Fri, 14 Oct 2016 04:39:14 +0000 (23:39 -0500)
Signed-off-by: Tim Rowley <timothy.o.rowley@intel.com>
src/gallium/drivers/swr/rasterizer/scripts/knob_defs.py

index b2695456eff5a94ef791f49103eb15968e35c7d4..3c6940d84286447383a4e2f4f9db6a2b76de807e 100644 (file)
@@ -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',