diff options
Diffstat (limited to 'source/opt/strip_debug_info_pass.cpp')
-rw-r--r-- | source/opt/strip_debug_info_pass.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/opt/strip_debug_info_pass.cpp b/source/opt/strip_debug_info_pass.cpp index 6cbba42d..ae35b109 100644 --- a/source/opt/strip_debug_info_pass.cpp +++ b/source/opt/strip_debug_info_pass.cpp @@ -19,7 +19,8 @@ namespace spvtools { namespace opt { Pass::Status StripDebugInfoPass::Process(ir::IRContext* irContext) { - bool modified = !irContext->debugs1().empty() || !irContext->debugs2().empty() || + bool modified = !irContext->debugs1().empty() || + !irContext->debugs2().empty() || !irContext->debugs3().empty(); irContext->debug_clear(); |