summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/i915/i915_debug.c
diff options
context:
space:
mode:
authorJakob Bornecrantz <wallbraker@gmail.com>2011-02-20 13:41:18 +0100
committerJakob Bornecrantz <wallbraker@gmail.com>2011-02-21 23:42:53 +0000
commit43e6fe5549edb7e837480f28b1262357568d54ea (patch)
treec1065f4fa44a7f0be442775281309f427a73611a /src/gallium/drivers/i915/i915_debug.c
parent27b49e91c982638497f7a92f7d611c29dd9cad18 (diff)
i915g: Add option to lie about caps
Diffstat (limited to 'src/gallium/drivers/i915/i915_debug.c')
-rw-r--r--src/gallium/drivers/i915/i915_debug.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/i915/i915_debug.c b/src/gallium/drivers/i915/i915_debug.c
index d11da83eb2..e0ea025d0e 100644
--- a/src/gallium/drivers/i915/i915_debug.c
+++ b/src/gallium/drivers/i915/i915_debug.c
@@ -50,11 +50,13 @@ boolean i915_tiling = TRUE;
DEBUG_GET_ONCE_FLAGS_OPTION(i915_debug, "I915_DEBUG", debug_options, 0);
DEBUG_GET_ONCE_BOOL_OPTION(i915_no_tiling, "I915_NO_TILING", FALSE);
+DEBUG_GET_ONCE_BOOL_OPTION(i915_lie, "I915_LIE", FALSE);
void i915_debug_init(struct i915_screen *is)
{
i915_debug = debug_get_option_i915_debug();
is->debug.tiling = !debug_get_option_i915_no_tiling();
+ is->debug.lie = debug_get_option_i915_lie();
}