mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-29 13:20:54 +00:00
Add a reference to where unstripped shader info is detailed
This commit is contained in:
@@ -6,7 +6,9 @@ This page goes into detail about how to set up your captures for debugging shade
|
||||
Including debug info in shaders
|
||||
-------------------------------
|
||||
|
||||
For the most part at least some debug information is included with shaders unless it is being explicitly stripped out at some point. There is usually an option to also include additional debug information - such as original source code in a high-level language. The exact process varies by API, but for D3D11 the flag ``/Zi`` to fxc or the equivalent flag to D3DCompile() will include additional debugging information, and ``/Qstrip_debug`` and ``/Qstrip_reflection`` will remove reflection information that can be useful - such as the names of variables in constant buffers.
|
||||
For the most part at least some debug information is included with shaders unless it is being explicitly stripped out at some point. There is usually an option to also include additional debug information - such as original source code in a high-level language. The exact process varies by API, but for D3D11 the flag ``/Zi`` to fxc or the equivalent flag to ``D3DCompile()`` will include additional debugging information, and ``/Qstrip_debug`` and ``/Qstrip_reflection`` will remove reflection information that can be useful - such as the names of variables in constant buffers.
|
||||
|
||||
For more information on how to get this unstripped debug information to renderdoc, see :ref:`unstripped-shader-info`.
|
||||
|
||||
Debugging a vertex
|
||||
------------------
|
||||
|
||||
Reference in New Issue
Block a user