summaryrefslogtreecommitdiff
path: root/source/slang/slang-spirv-val.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-spirv-val.cpp')
-rw-r--r--source/slang/slang-spirv-val.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/source/slang/slang-spirv-val.cpp b/source/slang/slang-spirv-val.cpp
index 585ff5c94..e2b4da46c 100644
--- a/source/slang/slang-spirv-val.cpp
+++ b/source/slang/slang-spirv-val.cpp
@@ -20,23 +20,22 @@ SlangResult disassembleSPIRV(const List<uint8_t>& spirv, String& outErr, String&
List<Byte> outData;
List<Byte> outErrData;
- SLANG_RETURN_ON_FAIL(StreamUtil::readAndWrite(in, spirv.getArrayView(), out, outData, err, outErrData));
+ SLANG_RETURN_ON_FAIL(
+ StreamUtil::readAndWrite(in, spirv.getArrayView(), out, outData, err, outErrData));
SLANG_RETURN_ON_FAIL(p->waitForTermination(10));
outDis = String(
reinterpret_cast<const char*>(outData.begin()),
- reinterpret_cast<const char*>(outData.end())
- );
+ reinterpret_cast<const char*>(outData.end()));
outErr = String(
reinterpret_cast<const char*>(outErrData.begin()),
- reinterpret_cast<const char*>(outErrData.end())
- );
+ reinterpret_cast<const char*>(outErrData.end()));
const auto ret = p->getReturnValue();
return ret == 0 ? SLANG_OK : SLANG_FAIL;
}
-}
+} // namespace Slang