From 7defc59b9dee5459e52f394642643dbd59c9b32f Mon Sep 17 00:00:00 2001 From: Nicholas Rodine Date: Fri, 19 Aug 2022 16:21:06 -0500 Subject: [PATCH] A few minor documentation fixes. (#3599) * A few minor documentation fixes. * Removed more invalid inheritdoc instances. --- ARMeilleure/CodeGen/Linking/Symbol.cs | 1 - ARMeilleure/Common/AddressTable.cs | 2 +- ARMeilleure/Common/Counter.cs | 6 ++++-- ARMeilleure/Translation/IntervalTree.cs | 2 +- Ryujinx.Graphics.Gpu/Shader/GpuAccessorBase.cs | 15 --------------- 5 files changed, 6 insertions(+), 20 deletions(-) diff --git a/ARMeilleure/CodeGen/Linking/Symbol.cs b/ARMeilleure/CodeGen/Linking/Symbol.cs index fa47ee23..39e0c3eb 100644 --- a/ARMeilleure/CodeGen/Linking/Symbol.cs +++ b/ARMeilleure/CodeGen/Linking/Symbol.cs @@ -58,7 +58,6 @@ namespace ARMeilleure.CodeGen.Linking /// First instance /// Second instance /// if not equal; otherwise - /// public static bool operator !=(Symbol a, Symbol b) { return !(a == b); diff --git a/ARMeilleure/Common/AddressTable.cs b/ARMeilleure/Common/AddressTable.cs index 60586a35..e03a38e6 100644 --- a/ARMeilleure/Common/AddressTable.cs +++ b/ARMeilleure/Common/AddressTable.cs @@ -206,7 +206,7 @@ namespace ARMeilleure.Common /// Type of elements /// Number of elements /// Fill value - /// if leaf; otherwise + /// if leaf; otherwise /// Allocated block private IntPtr Allocate(int length, T fill, bool leaf) where T : unmanaged { diff --git a/ARMeilleure/Common/Counter.cs b/ARMeilleure/Common/Counter.cs index defb5aba..4b0627c1 100644 --- a/ARMeilleure/Common/Counter.cs +++ b/ARMeilleure/Common/Counter.cs @@ -9,6 +9,9 @@ namespace ARMeilleure.Common class Counter : IDisposable where T : unmanaged { private bool _disposed; + /// + /// Index in the + /// private readonly int _index; private readonly EntryTable _countTable; @@ -17,7 +20,6 @@ namespace ARMeilleure.Common /// instance and index. /// /// instance - /// Index in the /// is /// is unsupported public Counter(EntryTable countTable) @@ -68,7 +70,7 @@ namespace ARMeilleure.Common /// /// Releases all unmanaged and optionally managed resources used by the instance. /// - /// to dispose managed resources also; otherwise just unmanaged resouces + /// to dispose managed resources also; otherwise just unmanaged resources protected virtual void Dispose(bool disposing) { if (!_disposed) diff --git a/ARMeilleure/Translation/IntervalTree.cs b/ARMeilleure/Translation/IntervalTree.cs index 51b9a51f..10bab7ae 100644 --- a/ARMeilleure/Translation/IntervalTree.cs +++ b/ARMeilleure/Translation/IntervalTree.cs @@ -344,7 +344,7 @@ namespace ARMeilleure.Translation } /// - /// Removes the value from the dictionary after searching for it with . + /// Removes the value from the dictionary after searching for it with . /// /// Key to search for /// Number of deleted values diff --git a/Ryujinx.Graphics.Gpu/Shader/GpuAccessorBase.cs b/Ryujinx.Graphics.Gpu/Shader/GpuAccessorBase.cs index 7243f643..a0c779b5 100644 --- a/Ryujinx.Graphics.Gpu/Shader/GpuAccessorBase.cs +++ b/Ryujinx.Graphics.Gpu/Shader/GpuAccessorBase.cs @@ -27,7 +27,6 @@ namespace Ryujinx.Graphics.Gpu.Shader _stageIndex = stageIndex; } - /// public int QueryBindingConstantBuffer(int index) { if (_context.Capabilities.Api == TargetApi.Vulkan) @@ -41,7 +40,6 @@ namespace Ryujinx.Graphics.Gpu.Shader } } - /// public int QueryBindingStorageBuffer(int index) { if (_context.Capabilities.Api == TargetApi.Vulkan) @@ -54,7 +52,6 @@ namespace Ryujinx.Graphics.Gpu.Shader } } - /// public int QueryBindingTexture(int index, bool isBuffer) { if (_context.Capabilities.Api == TargetApi.Vulkan) @@ -72,7 +69,6 @@ namespace Ryujinx.Graphics.Gpu.Shader } } - /// public int QueryBindingImage(int index, bool isBuffer) { if (_context.Capabilities.Api == TargetApi.Vulkan) @@ -116,37 +112,26 @@ namespace Ryujinx.Graphics.Gpu.Shader }; } - /// public bool QueryHostHasFrontFacingBug() => _context.Capabilities.HasFrontFacingBug; - /// public bool QueryHostHasVectorIndexingBug() => _context.Capabilities.HasVectorIndexingBug; - /// public int QueryHostStorageBufferOffsetAlignment() => _context.Capabilities.StorageBufferOffsetAlignment; - /// public bool QueryHostSupportsBgraFormat() => _context.Capabilities.SupportsBgraFormat; - /// public bool QueryHostSupportsFragmentShaderInterlock() => _context.Capabilities.SupportsFragmentShaderInterlock; - /// public bool QueryHostSupportsFragmentShaderOrderingIntel() => _context.Capabilities.SupportsFragmentShaderOrderingIntel; - /// public bool QueryHostSupportsGeometryShaderPassthrough() => _context.Capabilities.SupportsGeometryShaderPassthrough; - /// public bool QueryHostSupportsImageLoadFormatted() => _context.Capabilities.SupportsImageLoadFormatted; - /// public bool QueryHostSupportsNonConstantTextureOffset() => _context.Capabilities.SupportsNonConstantTextureOffset; - /// public bool QueryHostSupportsShaderBallot() => _context.Capabilities.SupportsShaderBallot; - /// public bool QueryHostSupportsTextureShadowLod() => _context.Capabilities.SupportsTextureShadowLod; ///