summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorcheneym2 <acheney@nvidia.com>2024-08-06 14:19:32 -0400
committerGitHub <noreply@github.com>2024-08-06 14:19:32 -0400
commit33e9de0ef2aa04e7681769104dbe524f8b68525a (patch)
tree31626503667d8523b96ea81c796cda17991872c8 /source
parentaa28f26e1d9d42e9d1d99b70463d9c0e0a114a32 (diff)
Remove disassemle debug code (#4779)
Some debug code was left in by accident which called DXC to disassemble the DXIL it produced.
Diffstat (limited to 'source')
-rw-r--r--source/compiler-core/slang-dxc-compiler.cpp3
1 files changed, 0 insertions, 3 deletions
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<IDxcBlobEncoding> dxcResultBlob2 = nullptr;
- dxcCompiler->Disassemble(dxcResultBlob, dxcResultBlob2.writeRef());
}
// If we have libraries then we need to link...