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-device.cpp8
-rw-r--r--tools/gfx/debug-layer/debug-device.h5
2 files changed, 13 insertions, 0 deletions
diff --git a/tools/gfx/debug-layer/debug-device.cpp b/tools/gfx/debug-layer/debug-device.cpp
index c5798710a..2a3eb4c52 100644
--- a/tools/gfx/debug-layer/debug-device.cpp
+++ b/tools/gfx/debug-layer/debug-device.cpp
@@ -685,6 +685,14 @@ Result DebugDevice::getTextureRowAlignment(size_t* outAlignment)
return baseObject->getTextureRowAlignment(outAlignment);
}
+Result DebugDevice::getCooperativeVectorProperties(
+ CooperativeVectorProperties* properties,
+ uint32_t* propertyCount)
+{
+ SLANG_GFX_API_FUNC;
+ return baseObject->getCooperativeVectorProperties(properties, propertyCount);
+}
+
Result DebugDevice::createShaderTable(const IShaderTable::Desc& desc, IShaderTable** outTable)
{
SLANG_GFX_API_FUNC;
diff --git a/tools/gfx/debug-layer/debug-device.h b/tools/gfx/debug-layer/debug-device.h
index a4debd2e7..d1e96e909 100644
--- a/tools/gfx/debug-layer/debug-device.h
+++ b/tools/gfx/debug-layer/debug-device.h
@@ -161,6 +161,11 @@ public:
size_t* outSize,
size_t* outAlignment) override;
virtual SLANG_NO_THROW Result SLANG_MCALL getTextureRowAlignment(size_t* outAlignment) override;
+
+ virtual SLANG_NO_THROW Result SLANG_MCALL getCooperativeVectorProperties(
+ CooperativeVectorProperties* properties,
+ uint32_t* propertyCount) override;
+
virtual SLANG_NO_THROW Result SLANG_MCALL
createShaderTable(const IShaderTable::Desc& desc, IShaderTable** outTable) override;
};