From 591affaf733ec82d7b38a7bf9c4d2f49a69a2c66 Mon Sep 17 00:00:00 2001 From: Jay Kwak <82421531+jkwak-work@users.noreply.github.com> Date: Fri, 18 Apr 2025 16:18:02 -0700 Subject: Check the available VK extensions before using CoopVec APIs in GFX (#6849) * Check the available VK extensions before using CoopVec APIs in GFX * Remove a redundant request for cooperative vector extension for vk --- tools/gfx/debug-layer/debug-device.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tools/gfx/debug-layer/debug-device.cpp') 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; -- cgit v1.2.3