diff options
| author | Cristallix <Cristallix@users.noreply.github.com> | 2020-04-20 23:59:59 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-21 07:59:59 +1000 |
| commit | 4738113f293ac2477a553225a24b6c489c6855f1 (patch) | |
| tree | 1878f27da3cc7e73171c7d905447f1eb9f25cefc /Ryujinx.Graphics.Gpu/Image/TextureDescriptor.cs | |
| parent | 91fa1debd4c5791a12733d75d7ce06a23a1547ff (diff) | |
Suppress warnings from fields never used or never assigned (CS0169 and CS0649) (#919)
* chore : disable unwanted warnings and minor code cleanup
* chore : remove more warnings
* fix : reorder struct correctly
* fix : restore _isKernel and remove useless comment
* fix : copy/paste error
* fix : restore CallMethod call
* fix : whitespace
* chore : clean using
* feat : remove warnings
* fix : simplify warning removal on struct
* fix : revert fields deletion and code clean up
* fix : re-add RE value
* fix : typo
Diffstat (limited to 'Ryujinx.Graphics.Gpu/Image/TextureDescriptor.cs')
| -rw-r--r-- | Ryujinx.Graphics.Gpu/Image/TextureDescriptor.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.Gpu/Image/TextureDescriptor.cs b/Ryujinx.Graphics.Gpu/Image/TextureDescriptor.cs index aebf4abf..313b8e20 100644 --- a/Ryujinx.Graphics.Gpu/Image/TextureDescriptor.cs +++ b/Ryujinx.Graphics.Gpu/Image/TextureDescriptor.cs @@ -5,6 +5,7 @@ namespace Ryujinx.Graphics.Gpu.Image /// </summary> struct TextureDescriptor { +#pragma warning disable CS0649 public uint Word0; public uint Word1; public uint Word2; @@ -13,6 +14,7 @@ namespace Ryujinx.Graphics.Gpu.Image public uint Word5; public uint Word6; public uint Word7; +#pragma warning restore CS0649 /// <summary> /// Unpacks Maxwell texture format integer. |
