mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2026-08-18 05:07:58 +00:00
VulkanRenderer: Tweak IsMoltenVk and IsKosmicKrisp variables
This commit is contained in:
parent
df5b75175c
commit
cf75619923
1 changed files with 2 additions and 4 deletions
|
|
@ -130,10 +130,12 @@ namespace Ryujinx.Graphics.Vulkan
|
|||
if (translationLayer == TranslationLayer.MoltenVK)
|
||||
{
|
||||
VulkanDriver.MoltenVK();
|
||||
IsMoltenVk = true;
|
||||
}
|
||||
if (translationLayer == TranslationLayer.KosmicKrisp)
|
||||
{
|
||||
VulkanDriver.KosmicKrisp();
|
||||
IsKosmicKrisp = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -414,10 +416,6 @@ namespace Ryujinx.Graphics.Vulkan
|
|||
|
||||
IsQualcommProprietary = hasDriverProperties && driverProperties.DriverID == DriverId.QualcommProprietary;
|
||||
|
||||
IsMoltenVk = hasDriverProperties && driverProperties.DriverID == DriverId.Moltenvk;
|
||||
|
||||
IsKosmicKrisp = hasDriverProperties && driverProperties.DriverID == DriverId.MesaKosmickrisp;
|
||||
|
||||
ulong minResourceAlignment = Math.Max(
|
||||
Math.Max(
|
||||
properties.Limits.MinStorageBufferOffsetAlignment,
|
||||
|
|
|
|||
Loading…
Reference in a new issue