[Bf-blender-cvs] [b10fac0432c] master: Docs: Remove wrong debug flag info

Julian Eisel noreply at git.blender.org
Sun Jan 31 22:43:14 CET 2021


Commit: b10fac0432c60e145d4f5b9df55a40ad39c8d3b9
Author: Julian Eisel
Date:   Sat Jan 30 01:49:23 2021 +0100
Branches: master
https://developer.blender.org/rBb10fac0432c60e145d4f5b9df55a40ad39c8d3b9

Docs: Remove wrong debug flag info

Removed the `--debug-gpu-shaders` argument in bc94036a76b6 but forgot to amend
these changes.

===================================================================

M	source/blender/python/gpu/gpu_py_shader.c
M	source/creator/creator_args.c

===================================================================

diff --git a/source/blender/python/gpu/gpu_py_shader.c b/source/blender/python/gpu/gpu_py_shader.c
index 526b96f8584..1a174549d66 100644
--- a/source/blender/python/gpu/gpu_py_shader.c
+++ b/source/blender/python/gpu/gpu_py_shader.c
@@ -570,9 +570,6 @@ PyDoc_STRVAR(
     "   ``GL_ARB_texture_gather``, ``GL_ARB_texture_cube_map_array``\n"
     "   and ``GL_ARB_shader_draw_parameters``.\n"
     "\n"
-    "   To debug shaders, use the ``--debug-gpu-shaders`` command line option\n"
-    "   to see full GLSL shader compilation and linking errors.\n"
-    "\n"
     "   For drawing user interface elements and gizmos, use\n"
     "   ``fragOutput = blender_srgb_to_framebuffer_space(fragOutput)``\n"
     "   to transform the output sRGB colors to the frame-buffer color-space.\n"
diff --git a/source/creator/creator_args.c b/source/creator/creator_args.c
index fa7dcc88210..a9677f3b3d4 100644
--- a/source/creator/creator_args.c
+++ b/source/creator/creator_args.c
@@ -587,7 +587,6 @@ static int arg_handle_print_help(int UNUSED(argc), const char **UNUSED(argv), vo
   BLI_args_print_arg_doc(ba, "--debug-depsgraph-time");
   BLI_args_print_arg_doc(ba, "--debug-depsgraph-pretty");
   BLI_args_print_arg_doc(ba, "--debug-gpu");
-  BLI_args_print_arg_doc(ba, "--debug-gpu-shaders");
   BLI_args_print_arg_doc(ba, "--debug-gpu-force-workarounds");
   BLI_args_print_arg_doc(ba, "--debug-wm");
 #  ifdef WITH_XR_OPENXR



More information about the Bf-blender-cvs mailing list