diff options
| author | gdk <gab.dark.100@gmail.com> | 2019-11-14 15:26:40 -0300 |
|---|---|---|
| committer | Thog <thog@protonmail.com> | 2020-01-09 02:13:00 +0100 |
| commit | 6e399061ceefb532561c4c5a5cd2681228e1231e (patch) | |
| tree | 18d2248f10c975939e4f9c8af787d677c36b0250 /Ryujinx.Graphics.Gpu/Engine/ShaderAddresses.cs | |
| parent | f0a59f345c633b757ebd2a22fca23d7dab0f9f99 (diff) | |
Invalidate shaders when they are modified
Diffstat (limited to 'Ryujinx.Graphics.Gpu/Engine/ShaderAddresses.cs')
| -rw-r--r-- | Ryujinx.Graphics.Gpu/Engine/ShaderAddresses.cs | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/Ryujinx.Graphics.Gpu/Engine/ShaderAddresses.cs b/Ryujinx.Graphics.Gpu/Engine/ShaderAddresses.cs deleted file mode 100644 index 368b5a17..00000000 --- a/Ryujinx.Graphics.Gpu/Engine/ShaderAddresses.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System; - -namespace Ryujinx.Graphics.Gpu.Engine -{ - struct ShaderAddresses : IEquatable<ShaderAddresses> - { - public ulong VertexA; - public ulong Vertex; - public ulong TessControl; - public ulong TessEvaluation; - public ulong Geometry; - public ulong Fragment; - - public override bool Equals(object other) - { - return other is ShaderAddresses addresses && Equals(addresses); - } - - public bool Equals(ShaderAddresses other) - { - return VertexA == other.VertexA && - Vertex == other.Vertex && - TessControl == other.TessControl && - TessEvaluation == other.TessEvaluation && - Geometry == other.Geometry && - Fragment == other.Fragment; - } - - public override int GetHashCode() - { - return HashCode.Combine(VertexA, Vertex, TessControl, TessEvaluation, Geometry, Fragment); - } - } -}
\ No newline at end of file |
