WIP: Selective Barriers & Feedback Loops change #496

Closed
GreemDev wants to merge 12 commits from feature/vk/selective-barriers into master
Showing only changes of commit c5c9ea4583 - Show all commits

View File

@ -893,10 +893,6 @@ namespace Ryujinx.Ava
var physicalDevices = VulkanRenderer.GetPhysicalDevices(); var physicalDevices = VulkanRenderer.GetPhysicalDevices();
var selectedDevice = physicalDevices.First(d => d.Id == ConfigurationState.Instance.Graphics.PreferredGpu); var selectedDevice = physicalDevices.First(d => d.Id == ConfigurationState.Instance.Graphics.PreferredGpu);
var isRdna3 = VendorUtils.AmdRdna3Pattern.IsMatch(selectedDevice.Name);
Logger.Info?.Print(LogClass.Gpu, $"{selectedDevice.Name}: {(isRdna3 ? "RDNA" : "NOT RDNA3")}");
if (VendorUtils.AmdRdna3Pattern.IsMatch(selectedDevice.Name)) if (VendorUtils.AmdRdna3Pattern.IsMatch(selectedDevice.Name))
return Rdna3VulkanRenderer.Create( return Rdna3VulkanRenderer.Create(
ConfigurationState.Instance.Graphics.PreferredGpu, ConfigurationState.Instance.Graphics.PreferredGpu,