Skip to content

Commit 69197ba

Browse files
authored
Add modify-maximal-reconvergence to spirv-opt help (KhronosGroup#5546)
1 parent 0045b01 commit 69197ba

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tools/opt/opt.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,12 @@ Options (in lexicographical order):)",
335335
These conditions are guaranteed to be met after running
336336
dead-branch elimination.)");
337337
printf(R"(
338+
--modify-maximal-reconvergence=[add|remove]
339+
Add or remove the MaximallyReconvergesKHR execution mode to all
340+
entry points in the module.
341+
Note: when adding the execution mode, no attempt is made to
342+
determine if any ray tracing repack instructions are used.)");
343+
printf(R"(
338344
--loop-unswitch
339345
Hoists loop-invariant conditionals out of loops by duplicating
340346
the loop on each branch of the conditional and adjusting each

0 commit comments

Comments
 (0)