Mesa (master): swr: [rasterizer scripts] add ENABLE_ASSERT_DIALOGS knob for windows

Tim Rowley torowley at kemper.freedesktop.org
Tue Oct 11 16:58:30 UTC 2016


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

Author: Tim Rowley <timothy.o.rowley at intel.com>
Date:   Wed Oct  5 13:48:40 2016 -0500

swr: [rasterizer scripts] add ENABLE_ASSERT_DIALOGS knob for windows

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

---

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

diff --git a/src/gallium/drivers/swr/rasterizer/scripts/knob_defs.py b/src/gallium/drivers/swr/rasterizer/scripts/knob_defs.py
index 2f1d1ef..b269545 100644
--- a/src/gallium/drivers/swr/rasterizer/scripts/knob_defs.py
+++ b/src/gallium/drivers/swr/rasterizer/scripts/knob_defs.py
@@ -22,6 +22,14 @@
 # Python source
 KNOBS = [
 
+    ['ENABLE_ASSERT_DIALOGS', {
+        'type'      : 'bool',
+        'default'   : 'true',
+        'desc'      : ['Use dialogs when asserts fire.',
+                       'Asserts are only enabled in debug builds'],
+        'category'  : 'debug',
+    }],
+
     ['SINGLE_THREADED', {
         'type'      : 'bool',
         'default'   : 'false',




More information about the mesa-commit mailing list