From 459a82d5689f174d2e1f4c0d94fb54c1672809ea Mon Sep 17 00:00:00 2001 From: Alan Baker Date: Thu, 25 Jan 2024 14:04:30 -0500 Subject: [PATCH] Add modify-maximal-reconvergence to spirv-opt help --- tools/opt/opt.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp index 24724e59fa..f320baf923 100644 --- a/tools/opt/opt.cpp +++ b/tools/opt/opt.cpp @@ -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