Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2018-12-05 05:05:39 +0300
committerClément Foucault <foucault.clem@gmail.com>2018-12-05 05:05:39 +0300
commit1fa527bfa3a6f78e9f00a21649f396d21344420e (patch)
tree577a4939c43c81fb018faec26b2d12ff16ecc0d7 /source/creator/creator_args.c
parent354b1c162a03617a8d73d9954be4079ba0c31077 (diff)
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.
Diffstat (limited to 'source/creator/creator_args.c')
-rw-r--r--source/creator/creator_args.c2
1 files changed, 2 insertions, 0 deletions
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);