diff options
| author | jsmall-nvidia <jsmall@nvidia.com> | 2020-02-21 21:59:48 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-21 21:59:48 +0000 |
| commit | f2c221ebf654d924cc71041c46c8d2ca4d589f52 (patch) | |
| tree | d99478ef4f2669ec491a77292eaa26d097dfaf02 | |
| parent | 25eeb10a9731b0980f63709d0141ba2cccc954b5 (diff) | |
dxil-asm target output was dxil code not asm. (#1238)
| -rw-r--r-- | source/slang/slang-compiler.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source/slang/slang-compiler.cpp b/source/slang/slang-compiler.cpp index ddbcec2e5..9797b1f1f 100644 --- a/source/slang/slang-compiler.cpp +++ b/source/slang/slang-compiler.cpp @@ -1671,9 +1671,7 @@ SlangResult dissassembleDXILUsingDXC( assembly); maybeDumpIntermediate(compileRequest, assembly.getBuffer(), target); - - // Write as text, even if stored in uint8_t array - result = CompileResult(UnownedStringSlice((const char*)code.getBuffer(), code.getCount())); + result = CompileResult(assembly); } } break; |
