diff options
author | mageven <62494521+mageven@users.noreply.github.com> | 2021-03-23 00:10:07 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-22 19:40:07 +0100 |
commit | 69f8722e795b0d76b84efa4de52e199e9441fca7 (patch) | |
tree | b6cbc30ea90604127d6c4a2f010b5fb756483155 /Ryujinx.Graphics.Gpu/Shader/ShaderCacheState.cs | |
parent | 0b022cad1e09559bd566cb90caf82ce35943752f (diff) |
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
Diffstat (limited to 'Ryujinx.Graphics.Gpu/Shader/ShaderCacheState.cs')
-rw-r--r-- | Ryujinx.Graphics.Gpu/Shader/ShaderCacheState.cs | 13 |
1 files changed, 13 insertions, 0 deletions
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 +{ + /// <summary>Shader cache loading states</summary> + public enum ShaderCacheState + { + /// <summary>Shader cache started loading</summary> + Start, + /// <summary>Shader cache is loading</summary> + Loading, + /// <summary>Shader cache finished loading</summary> + Loaded + } +}
\ No newline at end of file |