summaryrefslogtreecommitdiffstats
path: root/tools/gfx/debug-layer
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gfx/debug-layer')
-rw-r--r--tools/gfx/debug-layer/debug-command-encoder.cpp6
-rw-r--r--tools/gfx/debug-layer/debug-command-encoder.h3
2 files changed, 9 insertions, 0 deletions
diff --git a/tools/gfx/debug-layer/debug-command-encoder.cpp b/tools/gfx/debug-layer/debug-command-encoder.cpp
index 3ddd6401f..b7b06c2f4 100644
--- a/tools/gfx/debug-layer/debug-command-encoder.cpp
+++ b/tools/gfx/debug-layer/debug-command-encoder.cpp
@@ -203,6 +203,12 @@ Result DebugRenderCommandEncoder::drawIndexedInstanced(
indexCount, instanceCount, startIndexLocation, baseVertexLocation, startInstanceLocation);
}
+Result DebugRenderCommandEncoder::drawMeshTasks(int x, int y, int z)
+{
+ SLANG_GFX_API_FUNC;
+ return baseObject->drawMeshTasks(x, y, z);
+}
+
void DebugResourceCommandEncoder::endEncoding()
{
SLANG_GFX_API_FUNC;
diff --git a/tools/gfx/debug-layer/debug-command-encoder.h b/tools/gfx/debug-layer/debug-command-encoder.h
index 395db587e..a0c03e84c 100644
--- a/tools/gfx/debug-layer/debug-command-encoder.h
+++ b/tools/gfx/debug-layer/debug-command-encoder.h
@@ -231,6 +231,9 @@ public:
GfxIndex baseVertexLocation,
GfxIndex startInstanceLocation) override;
+ virtual SLANG_NO_THROW Result SLANG_MCALL
+ drawMeshTasks(int x, int y, int z) override;
+
public:
DebugCommandBuffer* commandBuffer;
bool isOpen = false;