diff options
| author | Yong He <yonghe@outlook.com> | 2022-01-14 13:08:46 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-14 13:08:46 -0800 |
| commit | b2f4cb118ef15cbf522be0335e4084ac6db57672 (patch) | |
| tree | 37c2d6c3519ef7fc3d60142a4a31cbe16708e0bc /tools/gfx/debug-layer.cpp | |
| parent | d3f904cbfa1568366bc8c8d231a57a03d47ddc98 (diff) | |
Various fixes to GFX, nested parameter block test for d3d12. (#2081)
* Various fixes.
* Add nested parameter block test.
* Remove slang-llvm licence info
* Ingore slang-llvm/ directory.
* Fixup.
Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'tools/gfx/debug-layer.cpp')
| -rw-r--r-- | tools/gfx/debug-layer.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/gfx/debug-layer.cpp b/tools/gfx/debug-layer.cpp index b0b3ae30b..63f1e6d43 100644 --- a/tools/gfx/debug-layer.cpp +++ b/tools/gfx/debug-layer.cpp @@ -666,12 +666,13 @@ Result DebugDevice::createMutableRootShaderObject( return result; } -Result DebugDevice::createProgram(const IShaderProgram::Desc& desc, IShaderProgram** outProgram) +Result DebugDevice::createProgram( + const IShaderProgram::Desc& desc, IShaderProgram** outProgram, ISlangBlob** outDiagnostics) { SLANG_GFX_API_FUNC; RefPtr<DebugShaderProgram> outObject = new DebugShaderProgram(desc); - auto result = baseObject->createProgram(desc, outObject->baseObject.writeRef()); + auto result = baseObject->createProgram(desc, outObject->baseObject.writeRef(), outDiagnostics); if (SLANG_FAILED(result)) return result; returnComPtr(outProgram, outObject); |
