From 73a61edda8893901acad05bb4e7d3110db5041a8 Mon Sep 17 00:00:00 2001 From: Yong He Date: Wed, 28 Feb 2024 22:57:07 -0800 Subject: [SPIRV] Add NonSemanticDebugInfo for step-through debugging. (#3644) * [SPIRV] Add NonSemanticDebugInfo for step-through debugging. * Fix. * Fix. --- tools/gfx/d3d12/d3d12-device.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools/gfx/d3d12/d3d12-device.cpp') diff --git a/tools/gfx/d3d12/d3d12-device.cpp b/tools/gfx/d3d12/d3d12-device.cpp index bbf27b4f7..58b13fe41 100644 --- a/tools/gfx/d3d12/d3d12-device.cpp +++ b/tools/gfx/d3d12/d3d12-device.cpp @@ -910,6 +910,8 @@ Result DeviceImpl::initialize(const Desc& desc) } SLANG_RETURN_ON_FAIL(slangContext.initialize( desc.slang, + desc.extendedDescCount, + desc.extendedDescs, compileTarget, profileName, makeArray(slang::PreprocessorMacroDesc{ "__D3D12__", "1" }).getView())); -- cgit v1.2.3