RenderDoc

RenderDoc

Motivation

RenderDoc is extremely useful for debugging graphics issues in programs that use various graphics backands such as OpenGL, Vulkan, DirectX, etc.

Status

Port done, work ongoing for upstreaming: https://github.com/anthony-linaro/renderdoc-windows-arm64/tree/enable-windows-arm64

Compiling

These instructions assume that you are using an ARM64 host machine, and have usual developer tooling installed (git, etc)

  • Install VS2022

  • Open an β€œARM64 Native Tools Command Prompt for VS 2022” window

  • git clone -b enable-windows-arm64 https://github.com/anthony-linaro/renderdoc-windows-arm64
  • cd renderdoc-windows-arm64
  • msbuild renderdoc.sln /p:Configuration=Release

Notes on enablement

There are a few notable changes that were required as part of the enablement, mainly around prebuilt libraries contained in-tree:

  • Python was updated to 3.10

  • Qt was updated to 5.15

These were required updates, as the versions included in RenderDoc are not compatible with Windows ARM64.

Qt was built via vcpkg (commit hash 7220a4eebf20515cdd9c34721e15ca082bae9038), using the command:

vcpkg install qt5[core,svg,tools]:arm64-windows

Python was built from the 3.10 branch (commit hash 3358f9abf4d05174486d6aadf464b5849b25be7c, v3.10.18).

Download

A sample build can be downloaded from here (note this is not a specific versioned release, just a random commit hash): https://drive.google.com/file/d/1dEJ8BRmxfaNhB3gv1DP6sqnosbMF9_x8/view?usp=sharing