From 1fa527bfa3a6f78e9f00a21649f396d21344420e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Foucault?= Date: Wed, 5 Dec 2018 03:05:39 +0100 Subject: BKE: Add "--debug-gpu-force-workarounds" to force gpu workarounds This is nice to test workarounds on other configs that may benefits from the existing workarounds. --- source/creator/creator_args.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/creator/creator_args.c') diff --git a/source/creator/creator_args.c b/source/creator/creator_args.c index 12d8cd1d5b8..5b976515dd8 100644 --- a/source/creator/creator_args.c +++ b/source/creator/creator_args.c @@ -1933,6 +1933,8 @@ void main_args_setup(bContext *C, bArgs *ba) CB_EX(arg_handle_debug_mode_generic_set, gpumem), (void *)G_DEBUG_GPU_MEM); BLI_argsAdd(ba, 1, NULL, "--debug-gpu-shaders", CB_EX(arg_handle_debug_mode_generic_set, gpumem), (void *)G_DEBUG_GPU_SHADERS); + BLI_argsAdd(ba, 1, NULL, "--debug-gpu-force-workarounds", + CB_EX(arg_handle_debug_mode_generic_set, gpumem), (void *)G_DEBUG_GPU_FORCE_WORKAROUNDS); BLI_argsAdd(ba, 1, NULL, "--verbose", CB(arg_handle_verbosity_set), NULL); -- cgit v1.2.3