summaryrefslogtreecommitdiffstats
path: root/tools/gfx/debug-layer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gfx/debug-layer.cpp')
-rw-r--r--tools/gfx/debug-layer.cpp5
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);