diff options
| author | jsmall-nvidia <jsmall@nvidia.com> | 2022-05-05 15:53:29 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-05 15:53:29 -0400 |
| commit | b915ae662b2e4bcaaeb6da62eb964356d0a978b4 (patch) | |
| tree | 94aa29d7c112bde36557371bed906411f22a7adc /source/slang/slang-emit-c-like.cpp | |
| parent | 3088d901fee6447b6d80fa67f258626ece4408dc (diff) | |
Support for HLSL `export` (#2223)
* #include an absolute path didn't work - because paths were taken to always be relative.
* Add support for HLSL `export`.
* Test for using `export` keyword.
Diffstat (limited to 'source/slang/slang-emit-c-like.cpp')
| -rw-r--r-- | source/slang/slang-emit-c-like.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang-emit-c-like.cpp b/source/slang/slang-emit-c-like.cpp index 90ccb3e73..06e1e782b 100644 --- a/source/slang/slang-emit-c-like.cpp +++ b/source/slang/slang-emit-c-like.cpp @@ -2928,7 +2928,7 @@ void CLikeSourceEmitter::emitFunc(IRFunc* func) } } -void CLikeSourceEmitter::emitFuncDecorations(IRFunc* func) +void CLikeSourceEmitter::emitFuncDecorationsImpl(IRFunc* func) { for(auto decoration : func->getDecorations()) { |
