1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-19 05:52:11 +01:00

[dxvk] Fix feature query for vertex attribute divisor

This commit is contained in:
Philip Rebohle 2019-02-20 11:47:15 +01:00
parent 38c6eeed26
commit b65520d627
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -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;