D3D12 Support

This page documents the support of D3D12 in RenderDoc. This gives an overview of what RenderDoc is capable of, and primarily lists information that is relevant. You might also be interested in the full list of features.

The latest information and up-to-date support is always available on the GitHub wiki.

Performance notes

D3D12 is intended as to have low CPU overhead and be fully threadable, and RenderDoc strives to maintain that performance as much as possible. While some overhead is inevitable RenderDoc aims to have no locks on the ‘hot path’ of command buffer recording, minimal or no allocation, and in general to have low performance overhead while not capturing.

Some patterns of access are more or less conducive to good performance on RenderDoc, so if you are having trouble with slow capture, large memory/disk overhead or slow replay you might want to try eliminating use of persistent maps of resources.

Likewise try to avoid making very large memory allocations in the range of 1GB and above. By its nature RenderDoc must save one or mor copies of memory allocations to enable proper capture, so having allocations limited to only a few 100s of MBs can help gain granularity of management and limit the memory overhead RenderDoc adds. There may be optimisation of this in future on RenderDoc’s side but there are no easy guarantees.

Current support

RenderDoc has initial support for D3D12, but it contains some caveats. In addition, not all replay features are currently supported, but this will eventually reach parity with other APIs.

  • RenderDoc assumes that even if multiple GPUs are present, that only one will be used - i.e. NodeMask is always 0. Multiple queues are supported.
  • RenderDoc captures may not be portable between different systems, only currently supporting capture and replay on the same or similar enough machines.
  • Reserved resources are not supported.
  • Multisampled resources will be blank at the start of a frame, regardless of what contents were there during capture.
  • Shared resources/handles are not supported.
  • Pixel history is not implemented.
  • Shader debugging is not currently supported.

See Also