diff options
Diffstat (limited to 'source/creator/creator_args.c')
-rw-r--r-- | source/creator/creator_args.c | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/source/creator/creator_args.c b/source/creator/creator_args.c index 6836cbec18c..b75a6a624d5 100644 --- a/source/creator/creator_args.c +++ b/source/creator/creator_args.c @@ -988,9 +988,9 @@ static const char arg_handle_debug_mode_generic_set_doc_depsgraph_no_threads[] = static const char arg_handle_debug_mode_generic_set_doc_depsgraph_pretty[] = "\n\t" "Enable colors for dependency graph debug messages."; -static const char arg_handle_debug_mode_generic_set_doc_gpumem[] = +static const char arg_handle_debug_mode_generic_set_doc_gpu_force_workarounds[] = "\n\t" - "Enable GPU memory stats in status bar."; + "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,18 +2170,8 @@ void main_args_setup(bContext *C, bArgs *ba) (void *)G_DEBUG_DEPSGRAPH_UUID); BLI_args_add(ba, NULL, - "--debug-gpumem", - CB_EX(arg_handle_debug_mode_generic_set, gpumem), - (void *)G_DEBUG_GPU_MEM); - BLI_args_add(ba, - NULL, - "--debug-gpu-shaders", - CB_EX(arg_handle_debug_mode_generic_set, gpumem), - (void *)G_DEBUG_GPU_SHADERS); - 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); |