summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/swr/rasterizer
diff options
context:
space:
mode:
authorTim Rowley <[email protected]>2016-10-05 13:48:40 -0500
committerTim Rowley <[email protected]>2016-10-11 11:22:04 -0500
commit5d5179a6c240e82d6d5de513bb6fa3b5ec85dd60 (patch)
tree568c872d0225fb7f810eb4045afed335fda964d1 /src/gallium/drivers/swr/rasterizer
parent07326d4006245be761469a58e4dd41ef378f6c25 (diff)
swr: [rasterizer scripts] add ENABLE_ASSERT_DIALOGS knob for windows
Signed-off-by: Tim Rowley <[email protected]>
Diffstat (limited to 'src/gallium/drivers/swr/rasterizer')
-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 2f1d1ef02e7..b2695456eff 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',