Skip to content

Commit

Permalink
update PrintUsage()
Browse files Browse the repository at this point in the history
  • Loading branch information
igorbrsn committed Jul 31, 2023
1 parent 46deb16 commit f95d500
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion USAGE_desktop_D3D12.md
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ Vulkan-only:
D3D12-only:
--use-cached-psos Permit using cached PSOs when creating graphics or compute pipelines.
Disabling helps enable replay across changing driver installs.
Using cached PSOs may reduce PSO creation time but may result in replay errors.
--debug-device-lost Enables automatic injection of breadcrumbs into command buffers
and page fault reporting.
Used to debug Direct3D 12 device removed problems.
Expand Down
5 changes: 3 additions & 2 deletions tools/replay/replay_settings.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ static void PrintUsage(const char* exe_name)
GFXRECON_WRITE_CONSOLE("\t\t\t[--screenshot-dir <dir>] [--screenshot-prefix <file-prefix>]");
GFXRECON_WRITE_CONSOLE("\t\t\t[--sfa | --skip-failed-allocations] [--replace-shaders <dir>]");
GFXRECON_WRITE_CONSOLE("\t\t\t[--opcd | --omit-pipeline-cache-data] [--wsi <platform>]");
GFXRECON_WRITE_CONSOLE("\t\t\t[--surface-index <N>]");
GFXRECON_WRITE_CONSOLE("\t\t\t[--use-cached-psos] [--surface-index <N>]");
GFXRECON_WRITE_CONSOLE("\t\t\t[--remove-unsupported] [--validate]");
GFXRECON_WRITE_CONSOLE("\t\t\t[--onhb | --omit-null-hardware-buffers]");
GFXRECON_WRITE_CONSOLE("\t\t\t[-m <mode> | --memory-translation <mode>]");
Expand Down Expand Up @@ -202,7 +202,8 @@ static void PrintUsage(const char* exe_name)
GFXRECON_WRITE_CONSOLE("D3D12-only:")
GFXRECON_WRITE_CONSOLE(
" --use-cached-psos \tPermit using cached PSOs when creating graphics or compute pipelines.");
GFXRECON_WRITE_CONSOLE(" \t\t\tCan help enable replay across changing driver installs.");
GFXRECON_WRITE_CONSOLE(
" \t\t\tUsing cached PSOs may reduce PSO creation time but may result in replay errors.");
GFXRECON_WRITE_CONSOLE(" --debug-device-lost\tEnables automatic injection of breadcrumbs into command buffers");
GFXRECON_WRITE_CONSOLE(" \t\tand page fault reporting.");
GFXRECON_WRITE_CONSOLE(" \t\tUsed to debug Direct3D 12 device removed problems.");
Expand Down

0 comments on commit f95d500

Please sign in to comment.