[Bf-blender-cvs] [75e8e011240] master: Fix wrong command line argument description for --debug--gpu-force-workarounds
Julian Eisel
noreply at git.blender.org
Fri Jan 29 14:41:12 CET 2021
Commit: 75e8e01124082cf6d5dedcf6b8cab4e3ee31030e
Author: Julian Eisel
Date: Fri Jan 29 14:13:30 2021 +0100
Branches: master
https://developer.blender.org/rB75e8e01124082cf6d5dedcf6b8cab4e3ee31030e
Fix wrong command line argument description for --debug--gpu-force-workarounds
Was using the same description as `--debug-gpumem`.
`--debug-gpu-shaders` actually has the same issue, but will be removed in the
next commit.
===================================================================
M source/creator/creator_args.c
===================================================================
diff --git a/source/creator/creator_args.c b/source/creator/creator_args.c
index db63f8fbcfe..031bf06c085 100644
--- a/source/creator/creator_args.c
+++ b/source/creator/creator_args.c
@@ -980,6 +980,9 @@ static const char arg_handle_debug_mode_generic_set_doc_depsgraph_pretty[] =
static const char arg_handle_debug_mode_generic_set_doc_gpumem[] =
"\n\t"
"Enable GPU memory stats in status bar.";
+static const char arg_handle_debug_mode_generic_set_doc_gpu_force_workarounds[] =
+ "\n\t"
+ "Enable workarounds for typical GPU issues and disable all GPU extensions.";
static int arg_handle_debug_mode_generic_set(int UNUSED(argc),
const char **UNUSED(argv),
@@ -2170,7 +2173,7 @@ void main_args_setup(bContext *C, bArgs *ba)
BLI_args_add(ba,
NULL,
"--debug-gpu-force-workarounds",
- CB_EX(arg_handle_debug_mode_generic_set, gpumem),
+ CB_EX(arg_handle_debug_mode_generic_set, gpu_force_workarounds),
(void *)G_DEBUG_GPU_FORCE_WORKAROUNDS);
BLI_args_add(ba, NULL, "--debug-exit-on-error", CB(arg_handle_debug_exit_on_error), NULL);
More information about the Bf-blender-cvs
mailing list