diff options
Diffstat (limited to 'source/slang/slang-ast-dump.cpp')
| -rw-r--r-- | source/slang/slang-ast-dump.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/source/slang/slang-ast-dump.cpp b/source/slang/slang-ast-dump.cpp index 2157b7c19..d0b2497bb 100644 --- a/source/slang/slang-ast-dump.cpp +++ b/source/slang/slang-ast-dump.cpp @@ -450,6 +450,15 @@ struct Context m_writer->emit("}"); } + void dump(const MatrixCoord& coord) + { + m_writer->emit("("); + m_writer->emit(coord.row); + m_writer->emit(", "); + m_writer->emit(coord.col); + m_writer->emit(")\n"); + } + void dump(const LookupResult& result) { auto& nonConstResult = const_cast<LookupResult&>(result); |
