From 5d5179a6c240e82d6d5de513bb6fa3b5ec85dd60 Mon Sep 17 00:00:00 2001 From: Tim Rowley Date: Wed, 5 Oct 2016 13:48:40 -0500 Subject: [PATCH] swr: [rasterizer scripts] add ENABLE_ASSERT_DIALOGS knob for windows Signed-off-by: Tim Rowley --- 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 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', -- 2.30.2