Skip to content

Commit

Permalink
Add modify-maximal-reconvergence to spirv-opt help
Browse files Browse the repository at this point in the history
  • Loading branch information
alan-baker committed Jan 25, 2024
1 parent ef2f432 commit 459a82d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tools/opt/opt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,12 @@ Options (in lexicographical order):)",
These conditions are guaranteed to be met after running
dead-branch elimination.)");
printf(R"(
--modify-maximal-reconvergence=[add|remove]
Add or remove the MaximallyReconvergesKHR execution mode to all
entry points in the module.
Note: when adding the execution mode, no attempt is made to
determine if any ray tracing repack instructions are used.)");
printf(R"(
--loop-unswitch
Hoists loop-invariant conditionals out of loops by duplicating
the loop on each branch of the conditional and adjusting each
Expand Down

0 comments on commit 459a82d

Please sign in to comment.