VideoBackends:Vulkan: Use Vulkan 1.2 driverID to detect MoltenVK

Previously we'd assume all Apple GPUs were MoltenVK, including those running on Asahi Linux with open source Honeykrisp drivers.
This commit is contained in:
TellowKrinkle
2024-09-03 23:55:27 -05:00
parent 1416dc7e6a
commit dc6ccfb2ab
2 changed files with 85 additions and 35 deletions

View File

@ -39,6 +39,7 @@ public:
float pointSizeRange[2];
float maxSamplerAnisotropy;
u32 subgroupSize = 1;
VkDriverId driverID = static_cast<VkDriverId>(0);
bool dualSrcBlend;
bool geometryShader;
bool samplerAnisotropy;