From b65520d627a434e918ba896e812187d24b651f10 Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Wed, 20 Feb 2019 11:47:15 +0100 Subject: [PATCH] [dxvk] Fix feature query for vertex attribute divisor --- src/dxvk/dxvk_graphics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dxvk/dxvk_graphics.cpp b/src/dxvk/dxvk_graphics.cpp index 5215c2230..b37c9b38b 100644 --- a/src/dxvk/dxvk_graphics.cpp +++ b/src/dxvk/dxvk_graphics.cpp @@ -284,7 +284,7 @@ namespace dxvk { viInfo.pNext = viDivisorInfo.pNext; // TODO remove this once the extension is widely supported - if (!m_pipeMgr->m_device->extensions().extVertexAttributeDivisor) + if (!m_pipeMgr->m_device->features().extVertexAttributeDivisor.vertexAttributeInstanceRateDivisor) viInfo.pNext = viDivisorInfo.pNext; VkPipelineInputAssemblyStateCreateInfo iaInfo;