Skip to content

Commit 9acbc18

Browse files
committed
turn off debug SPIRV source emission with NSC by default
1 parent 31c9a61 commit 9acbc18

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/nsc/main.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,7 @@ class ShaderCompiler final : public system::IApplicationFramework
293293
options.preprocessorOptions.sourceIdentifier = sourceIdentifier;
294294
options.preprocessorOptions.logger = m_logger.get();
295295

296+
options.debugInfoFlags = core::bitflag<asset::IShaderCompiler::E_DEBUG_INFO_FLAGS>(asset::IShaderCompiler::E_DEBUG_INFO_FLAGS::EDIF_TOOL_BIT);
296297
options.dxcOptions = std::span<std::string>(m_arguments);
297298

298299
auto includeFinder = make_smart_refctd_ptr<IShaderCompiler::CIncludeFinder>(smart_refctd_ptr(m_system));

0 commit comments

Comments
 (0)