From 69f8722e795b0d76b84efa4de52e199e9441fca7 Mon Sep 17 00:00:00 2001
From: mageven <62494521+mageven@users.noreply.github.com>
Date: Tue, 23 Mar 2021 00:10:07 +0530
Subject: Fix inconsistencies in progress reporting (#2129)
Signal and setup events correctly
Eliminate possible races
Use a single event
Mark volatiles and reduce scope of waithandles
Common handler
100ms -> 50ms
---
Ryujinx.Graphics.Gpu/Shader/ShaderCacheState.cs | 13 +++++++++++++
1 file changed, 13 insertions(+)
create mode 100644 Ryujinx.Graphics.Gpu/Shader/ShaderCacheState.cs
(limited to 'Ryujinx.Graphics.Gpu/Shader/ShaderCacheState.cs')
diff --git a/Ryujinx.Graphics.Gpu/Shader/ShaderCacheState.cs b/Ryujinx.Graphics.Gpu/Shader/ShaderCacheState.cs
new file mode 100644
index 00000000..623b73d7
--- /dev/null
+++ b/Ryujinx.Graphics.Gpu/Shader/ShaderCacheState.cs
@@ -0,0 +1,13 @@
+namespace Ryujinx.Graphics.Gpu.Shader
+{
+ /// Shader cache loading states
+ public enum ShaderCacheState
+ {
+ /// Shader cache started loading
+ Start,
+ /// Shader cache is loading
+ Loading,
+ /// Shader cache finished loading
+ Loaded
+ }
+}
\ No newline at end of file
--
cgit v1.2.3