Fix intel vulkan driver version identification

This commit is contained in:
baldurk
2022-12-21 23:03:35 +00:00
parent 95c45c985e
commit 5e04ab288d
+1 -1
View File
@@ -939,7 +939,7 @@ VkDriverInfo::VkDriverInfo(const VkPhysicalDeviceProperties &physProps, bool act
// major|minor
if(m_Vendor == GPUVendor::Intel)
{
m_Major = ((uint32_t)(physProps.driverVersion) >> 14) & 0xffffc;
m_Major = ((uint32_t)(physProps.driverVersion) >> 14) & 0x3fff;
m_Minor = (uint32_t)(physProps.driverVersion) & 0x3fff;
m_Patch = 0;
}