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.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/tools/gfx/debug-layer.cpp b/tools/gfx/debug-layer.cpp
index 90997edda..5b4ee981c 100644
--- a/tools/gfx/debug-layer.cpp
+++ b/tools/gfx/debug-layer.cpp
@@ -1135,6 +1135,13 @@ void DebugRenderCommandEncoder::writeTimestamp(IQueryPool* pool, SlangInt index)
baseObject->writeTimestamp(static_cast<DebugQueryPool*>(pool)->baseObject, index);
}
+Result DebugRenderCommandEncoder::setSamplePositions(
+ uint32_t samplesPerPixel, uint32_t pixelCount, const SamplePosition* samplePositions)
+{
+ SLANG_GFX_API_FUNC;
+ return baseObject->setSamplePositions(samplesPerPixel, pixelCount, samplePositions);
+}
+
void DebugResourceCommandEncoder::endEncoding()
{
SLANG_GFX_API_FUNC;
@@ -1237,6 +1244,13 @@ void DebugResourceCommandEncoder::uploadTextureData(
getInnerObj(dst), subResourceRange, offset, extent, subResourceData, subResourceDataCount);
}
+void DebugResourceCommandEncoder::clearResourceView(
+ IResourceView* view, ClearValue* clearValue, ClearResourceViewFlags::Enum flags)
+{
+ SLANG_GFX_API_FUNC;
+ baseObject->clearResourceView(getInnerObj(view), clearValue, flags);
+}
+
void DebugRayTracingCommandEncoder::endEncoding()
{
SLANG_GFX_API_FUNC;