From 33e9de0ef2aa04e7681769104dbe524f8b68525a Mon Sep 17 00:00:00 2001 From: cheneym2 Date: Tue, 6 Aug 2024 14:19:32 -0400 Subject: Remove disassemle debug code (#4779) Some debug code was left in by accident which called DXC to disassemble the DXIL it produced. --- source/compiler-core/slang-dxc-compiler.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'source') diff --git a/source/compiler-core/slang-dxc-compiler.cpp b/source/compiler-core/slang-dxc-compiler.cpp index 0ecfd0b30..3a949b3bd 100644 --- a/source/compiler-core/slang-dxc-compiler.cpp +++ b/source/compiler-core/slang-dxc-compiler.cpp @@ -593,9 +593,6 @@ SlangResult DXCDownstreamCompiler::compile(const CompileOptions& inOptions, IArt dxcOperationResult.writeRef())); SLANG_RETURN_ON_FAIL(_handleOperationResult(dxcOperationResult, diagnostics, dxcResultBlob)); - - ComPtr dxcResultBlob2 = nullptr; - dxcCompiler->Disassemble(dxcResultBlob, dxcResultBlob2.writeRef()); } // If we have libraries then we need to link... -- cgit v1.2.3