Merge pull request #2177 from riperiperi/feature/parallel-shader-cache
Allow parallel shader compilation when loading a shader cache
This commit is contained in:
commit
b5c72b44de
16 changed files with 785 additions and 251 deletions
|
@ -2,6 +2,7 @@ using ARMeilleure.Translation.PTC;
|
|||
using FFmpeg.AutoGen;
|
||||
using Gtk;
|
||||
using Ryujinx.Common.Configuration;
|
||||
using Ryujinx.Common.GraphicsDriver;
|
||||
using Ryujinx.Common.Logging;
|
||||
using Ryujinx.Common.System;
|
||||
using Ryujinx.Common.SystemInfo;
|
||||
|
@ -147,6 +148,9 @@ namespace Ryujinx
|
|||
// Logging system information.
|
||||
PrintSystemInfo();
|
||||
|
||||
// Enable OGL multithreading on the driver, when available.
|
||||
DriverUtilities.ToggleOGLThreading(true);
|
||||
|
||||
// Initialize Gtk.
|
||||
Application.Init();
|
||||
|
||||
|
@ -158,9 +162,6 @@ namespace Ryujinx
|
|||
UserErrorDialog.CreateUserErrorDialog(UserError.NoKeys);
|
||||
}
|
||||
|
||||
// Force dedicated GPU if we can.
|
||||
ForceDedicatedGpu.Nvidia();
|
||||
|
||||
// Show the main window UI.
|
||||
MainWindow mainWindow = new MainWindow();
|
||||
mainWindow.Show();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue