Files
laura hermanns 1d344a72de [UBA] Add breadcrumbs to UBA trace files.
This change adds a new field to the ProcessStartInfo struct in UBA trace files for a description of the task, called "breadcrumbs" which allow to diagnose and backtrace the origin of a UBA task.
This is also hooked up to the distributed shader compilation (added as new field in FTaskCommandData) and a descriptive string is generated for each shader compile job batch.
UbaVisualizer is updated accordingly to integrate this new data when hovering over a task in the timeline.
This feature can be enabled via the new CVar "r.ShaderCompiler.DistributedJobDescriptionLevel" with values 0 (Disabled), 1 (Basic information), 2 (Adds shader format to each job). It's disabled by default.

#rb dan.elksnitis, henrik.karlsson
#rnx

[CL 36346831 by laura hermanns in 5.5 branch]
2024-09-17 15:08:58 -04:00
..
2024-09-03 17:12:48 -04:00
2024-07-29 13:48:36 -04:00
2024-08-16 18:47:18 -04:00
2024-09-05 02:01:24 -04:00
2024-08-29 14:43:37 -04:00
2024-08-27 16:28:54 -04:00
2024-09-03 18:09:05 -04:00
2024-07-24 02:53:16 -04:00

UBA

WIP

Building on Windows

Windows is our primary development platform and is generally the easiest to debug and profile on. For debugging we recommend Visual Studio 2022 or later, and for profiling you may want to use a high frequency sampling profiler such as Superluminal Performance.

Windows Setup

To build the code you will need Visual Studio 2022 (we use c++20 features), git and vcpkg.

  • Install Visual Studio 2022
  • Install git
    • You can also use winget install git if you have winget installed
    • You may want to install the github CLI to manage credentials etc - winget install github.cli
  • Install vcpkg (see below)

Installing vcpkg

We use vcpkg to manage some libraries. Right now it's not set up on a project local basis and requires manual bootstrap so you will need to do the following at least once:

  • open up a command line window
    • create a git/github directory somewhere for you to clone repos into
    • issue git clone https://github.com/microsoft/vcpkg.git and build it using the bootstrap-vcpkg.bat script
    • run vcpkg integrate install to make sure Visual Studio can locate the vcpkg install
  • optional: add the vcpkg directory you cloned to your PATH to allow invoking vcpkg on the command line

Now you are ready to start building!