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/vulkan/vk-api.cpp | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'tools/gfx/vulkan/vk-api.cpp') diff --git a/tools/gfx/vulkan/vk-api.cpp b/tools/gfx/vulkan/vk-api.cpp index 09b8e92f5..dbf32345f 100644 --- a/tools/gfx/vulkan/vk-api.cpp +++ b/tools/gfx/vulkan/vk-api.cpp @@ -86,17 +86,6 @@ Slang::Result VulkanApi::initPhysicalDevice(VkPhysicalDevice physicalDevice) vkGetPhysicalDeviceFeatures(m_physicalDevice, &m_deviceFeatures); vkGetPhysicalDeviceMemoryProperties(m_physicalDevice, &m_deviceMemoryProperties); - if (vkGetPhysicalDeviceCooperativeVectorPropertiesNV) - { - uint32_t nProps = 0; - vkGetPhysicalDeviceCooperativeVectorPropertiesNV(m_physicalDevice, &nProps, nullptr); - m_cooperativeVectorProperties.setCount(nProps); - vkGetPhysicalDeviceCooperativeVectorPropertiesNV( - m_physicalDevice, - &nProps, - m_cooperativeVectorProperties.getBuffer()); - } - return SLANG_OK; } -- cgit v1.2.3