summaryrefslogtreecommitdiff
path: root/tools/gfx/vulkan/vk-fence.cpp
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2023-05-02 20:31:01 -0700
committerGitHub <noreply@github.com>2023-05-02 20:31:01 -0700
commitd87dd1dcfd0f13a6be1a2096d654f4d62044ad48 (patch)
treede66c29d7e87e010d0c827a735fd1ef3accac158 /tools/gfx/vulkan/vk-fence.cpp
parentd52376a65f37fcbbb67428b917fd3819436b6dfb (diff)
gfx: fix vulkan validation errors. (#2861)
* Fix VK validation errors when using vk1.2 features. * Fix vulkan validation errors. * Fix. --------- Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'tools/gfx/vulkan/vk-fence.cpp')
-rw-r--r--tools/gfx/vulkan/vk-fence.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gfx/vulkan/vk-fence.cpp b/tools/gfx/vulkan/vk-fence.cpp
index ce4d29a0c..0cef86a13 100644
--- a/tools/gfx/vulkan/vk-fence.cpp
+++ b/tools/gfx/vulkan/vk-fence.cpp
@@ -26,7 +26,7 @@ FenceImpl::~FenceImpl()
Result FenceImpl::init(const IFence::Desc& desc)
{
- if (!m_device->m_api.m_extendedFeatures.timelineFeatures.timelineSemaphore)
+ if (!m_device->m_api.m_extendedFeatures.vulkan12Features.timelineSemaphore)
return SLANG_E_NOT_AVAILABLE;
VkSemaphoreTypeCreateInfo timelineCreateInfo;