mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Fix intel vulkan driver version identification
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user