diff options
author | Steven Perron <stevenperron@google.com> | 2021-12-15 17:55:30 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-15 17:55:30 +0300 |
commit | 354a46a2a22e6de95ba72d5e318e742ddb808e95 (patch) | |
tree | 5a600942c8e96f29eabca7bf39184e7b2e988764 /tools | |
parent | 4322c4b5a7dbde603d3febb172ab7ce7726b4b49 (diff) |
Rename strip reflect to strip nonsemantic (#4661)
In https://github.com/KhronosGroup/SPIRV-Tools/pull/3110, the strip reflect
pass was changed to also remove all explicitly nonsemantic instructions. This
makes it so that the name of the pass no longer reflects what the pass actually
does. This change renames the pass so that it reflects what the pass actaully does.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/opt/opt.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp index 04f81b8c1..f60d11040 100644 --- a/tools/opt/opt.cpp +++ b/tools/opt/opt.cpp @@ -479,10 +479,13 @@ Options (in lexicographical order):)", --strip-debug Remove all debug instructions.)"); printf(R"( + --strip-nonsemantic + Remove all reflection and nonsemantic information.)"); + printf(R"( --strip-reflect - Remove all reflection information. For now, this covers - reflection information defined by SPV_GOOGLE_hlsl_functionality1 - and SPV_KHR_non_semantic_info)"); + DEPRECATED. Remove all reflection information. For now, this + covers reflection information defined by + SPV_GOOGLE_hlsl_functionality1 and SPV_KHR_non_semantic_info)"); printf(R"( --target-env=<env> Set the target environment. Without this flag the target |