mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-01-13 14:19:12 +00:00
Merge branch 'master' into GetPhysicalCoreCount
This commit is contained in:
commit
b7b787af16
2 changed files with 5 additions and 4 deletions
|
@ -144,9 +144,9 @@ namespace Ryujinx.Graphics.Vulkan
|
||||||
{
|
{
|
||||||
_drawCountSinceBarrier = DrawCount;
|
_drawCountSinceBarrier = DrawCount;
|
||||||
|
|
||||||
// Barriers apparently have no effect inside a render pass on MoltenVK.
|
// Barriers are not supported inside a render pass on Apple GPUs.
|
||||||
// As a workaround, end the render pass.
|
// As a workaround, end the render pass.
|
||||||
if (Gd.IsMoltenVk)
|
if (Gd.Vendor == Vendor.Apple)
|
||||||
{
|
{
|
||||||
EndRenderPass();
|
EndRenderPass();
|
||||||
}
|
}
|
||||||
|
|
|
@ -315,7 +315,7 @@ namespace Ryujinx.Graphics.Vulkan
|
||||||
features2.Features.ShaderStorageImageMultisample,
|
features2.Features.ShaderStorageImageMultisample,
|
||||||
_physicalDevice.IsDeviceExtensionPresent(ExtConditionalRendering.ExtensionName),
|
_physicalDevice.IsDeviceExtensionPresent(ExtConditionalRendering.ExtensionName),
|
||||||
_physicalDevice.IsDeviceExtensionPresent(ExtExtendedDynamicState.ExtensionName),
|
_physicalDevice.IsDeviceExtensionPresent(ExtExtendedDynamicState.ExtensionName),
|
||||||
features2.Features.MultiViewport,
|
features2.Features.MultiViewport && !(IsMoltenVk && Vendor == Vendor.Amd), // Workaround for AMD on MoltenVK issue
|
||||||
featuresRobustness2.NullDescriptor || IsMoltenVk,
|
featuresRobustness2.NullDescriptor || IsMoltenVk,
|
||||||
_physicalDevice.IsDeviceExtensionPresent(KhrPushDescriptor.ExtensionName),
|
_physicalDevice.IsDeviceExtensionPresent(KhrPushDescriptor.ExtensionName),
|
||||||
featuresPrimitiveTopologyListRestart.PrimitiveTopologyListRestart,
|
featuresPrimitiveTopologyListRestart.PrimitiveTopologyListRestart,
|
||||||
|
@ -680,7 +680,8 @@ namespace Ryujinx.Graphics.Vulkan
|
||||||
|
|
||||||
IsAmdWindows = Vendor == Vendor.Amd && OperatingSystem.IsWindows();
|
IsAmdWindows = Vendor == Vendor.Amd && OperatingSystem.IsWindows();
|
||||||
IsIntelWindows = Vendor == Vendor.Intel && OperatingSystem.IsWindows();
|
IsIntelWindows = Vendor == Vendor.Intel && OperatingSystem.IsWindows();
|
||||||
IsTBDR = IsMoltenVk ||
|
IsTBDR =
|
||||||
|
Vendor == Vendor.Apple ||
|
||||||
Vendor == Vendor.Qualcomm ||
|
Vendor == Vendor.Qualcomm ||
|
||||||
Vendor == Vendor.ARM ||
|
Vendor == Vendor.ARM ||
|
||||||
Vendor == Vendor.Broadcom ||
|
Vendor == Vendor.Broadcom ||
|
||||||
|
|
Loading…
Reference in a new issue