mirror of
https://github.com/EduApps-CDG/OpenDX
synced 2024-12-30 09:45:37 +01:00
[dxvk] Fix feature query for vertex attribute divisor
This commit is contained in:
parent
38c6eeed26
commit
b65520d627
@ -284,7 +284,7 @@ namespace dxvk {
|
|||||||
viInfo.pNext = viDivisorInfo.pNext;
|
viInfo.pNext = viDivisorInfo.pNext;
|
||||||
|
|
||||||
// TODO remove this once the extension is widely supported
|
// 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;
|
viInfo.pNext = viDivisorInfo.pNext;
|
||||||
|
|
||||||
VkPipelineInputAssemblyStateCreateInfo iaInfo;
|
VkPipelineInputAssemblyStateCreateInfo iaInfo;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user