summaryrefslogtreecommitdiff
path: root/source/slang/slang-compiler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-compiler.cpp')
-rw-r--r--source/slang/slang-compiler.cpp12
1 files changed, 1 insertions, 11 deletions
diff --git a/source/slang/slang-compiler.cpp b/source/slang/slang-compiler.cpp
index 9815f6ff1..8e9b8f430 100644
--- a/source/slang/slang-compiler.cpp
+++ b/source/slang/slang-compiler.cpp
@@ -2173,17 +2173,7 @@ SlangResult EndToEndCompileRequest::writeContainerToStream(Stream* stream)
options.sourceManager = linkage->getSourceManager();
}
- {
- RiffContainer container;
- {
- SerialContainerData data;
- SLANG_RETURN_ON_FAIL(
- SerialContainerUtil::addEndToEndRequestToData(this, options, data));
- SLANG_RETURN_ON_FAIL(SerialContainerUtil::write(data, options, &container));
- }
- // We now write the RiffContainer to the stream
- SLANG_RETURN_ON_FAIL(RiffUtil::write(container.getRoot(), true, stream));
- }
+ SLANG_RETURN_ON_FAIL(SerialContainerUtil::write(this, options, stream));
return SLANG_OK;
}