mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-17 08:11:51 +00:00
VK: fix NVIDIA driverVersion check
This commit is contained in:
parent
4d0330bf82
commit
0f7534c755
@ -157,10 +157,10 @@ namespace vk
|
||||
{
|
||||
#ifdef _WIN32
|
||||
// SPIRV bugs were fixed in 452.28 for windows
|
||||
const u32 threshold_version = (452u >> 22) | (28 >> 14);
|
||||
const u32 threshold_version = (452u << 22) | (28 << 14);
|
||||
#else
|
||||
// SPIRV bugs were fixed in 450.56 for linux/BSD
|
||||
const u32 threshold_version = (450u >> 22) | (56 >> 14);
|
||||
const u32 threshold_version = (450u << 22) | (56 << 14);
|
||||
#endif
|
||||
const auto current_version = props.driverVersion & ~0x3fffu; // Clear patch and revision fields
|
||||
if (current_version < threshold_version)
|
||||
|
Loading…
Reference in New Issue
Block a user