summaryrefslogtreecommitdiff
path: root/tools/gfx/vulkan/vk-api.cpp
diff options
context:
space:
mode:
authorJay Kwak <82421531+jkwak-work@users.noreply.github.com>2025-04-18 16:18:02 -0700
committerGitHub <noreply@github.com>2025-04-18 16:18:02 -0700
commit591affaf733ec82d7b38a7bf9c4d2f49a69a2c66 (patch)
tree89d5819114b0d40a4c927ed1185fcda0d94b5679 /tools/gfx/vulkan/vk-api.cpp
parenta597a0358f2c2b8ec1b71b7959861658a2c06ecc (diff)
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
Diffstat (limited to 'tools/gfx/vulkan/vk-api.cpp')
-rw-r--r--tools/gfx/vulkan/vk-api.cpp11
1 files changed, 0 insertions, 11 deletions
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;
}