Renderdoc¶
Renderdoc is a widely used open source GPU debugger. Blender has several options to benefit using renderdoc for debugging.
Frame capturing¶
When Blender is compiled with WITH_RENDERDOC=On you can start and stop a renderdoc
frame capture from within Blenders' source code.
- Add
GPU_debug_capture_begin/GPU_debug_capture_endaround the code you want to capture. - Start renderdoc and launch from within renderdoc using the
--debug-gpu-renderdoccommand line parameter - Every time the
GPU_debug_capture_begin/endpair is reached it will automatically record a frame capture.
Command grouping¶
With the command line parameter --debug-gpu blender will add meta-data to the buffers and
commands. This makes it easier to navigate complex frame captures. Command grouping
is automatically enabled when running with the --debug-gpu-renderdoc option
Last update:
2023-06-12
Created: 2023-06-12
Created: 2023-06-12