summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/swr
diff options
context:
space:
mode:
authorTim Rowley <timothy.o.rowley@intel.com>2016-10-05 13:48:40 -0500
committerTim Rowley <timothy.o.rowley@intel.com>2016-10-11 11:22:04 -0500
commit5d5179a6c240e82d6d5de513bb6fa3b5ec85dd60 (patch)
tree568c872d0225fb7f810eb4045afed335fda964d1 /src/gallium/drivers/swr
parent07326d4006245be761469a58e4dd41ef378f6c25 (diff)
downloadexternal_mesa3d-5d5179a6c240e82d6d5de513bb6fa3b5ec85dd60.zip
external_mesa3d-5d5179a6c240e82d6d5de513bb6fa3b5ec85dd60.tar.gz
external_mesa3d-5d5179a6c240e82d6d5de513bb6fa3b5ec85dd60.tar.bz2
swr: [rasterizer scripts] add ENABLE_ASSERT_DIALOGS knob for windows
Signed-off-by: Tim Rowley <timothy.o.rowley@intel.com>
Diffstat (limited to 'src/gallium/drivers/swr')
-rw-r--r--src/gallium/drivers/swr/rasterizer/scripts/knob_defs.py8
1 files changed, 8 insertions, 0 deletions
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',