Add some missing XML docs
This commit is contained in:
parent
90fb0cb94a
commit
cd05bddcfe
3 changed files with 11 additions and 3 deletions
|
@ -212,6 +212,11 @@ namespace Ryujinx.Graphics.Gpu.Image
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Checks if the pool was modified by comparing the current <seealso cref="ModifiedSequenceNumber"/> with a cached one.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sequenceNumber">Cached modified sequence number</param>
|
||||||
|
/// <returns>True if the pool was modified, false otherwise</returns>
|
||||||
public bool WasModified(ref int sequenceNumber)
|
public bool WasModified(ref int sequenceNumber)
|
||||||
{
|
{
|
||||||
if (sequenceNumber != ModifiedSequenceNumber)
|
if (sequenceNumber != ModifiedSequenceNumber)
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
using Ryujinx.Graphics.GAL;
|
using Ryujinx.Graphics.GAL;
|
||||||
using Ryujinx.Graphics.Gpu.Image;
|
using Ryujinx.Graphics.Gpu.Image;
|
||||||
using Ryujinx.Graphics.Shader;
|
|
||||||
using Ryujinx.Memory.Range;
|
using Ryujinx.Memory.Range;
|
||||||
using System;
|
|
||||||
|
|
||||||
namespace Ryujinx.Graphics.Gpu.Memory
|
namespace Ryujinx.Graphics.Gpu.Memory
|
||||||
{
|
{
|
||||||
|
@ -11,6 +9,9 @@ namespace Ryujinx.Graphics.Gpu.Memory
|
||||||
/// </summary>
|
/// </summary>
|
||||||
readonly struct BufferTextureArrayBinding<T>
|
readonly struct BufferTextureArrayBinding<T>
|
||||||
{
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Backend texture or image array.
|
||||||
|
/// </summary>
|
||||||
public T Array { get; }
|
public T Array { get; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
@ -11,6 +11,8 @@ namespace Ryujinx.ShaderTools
|
||||||
{
|
{
|
||||||
private class GpuAccessor : IGpuAccessor
|
private class GpuAccessor : IGpuAccessor
|
||||||
{
|
{
|
||||||
|
private const int DefaultArrayLength = 32;
|
||||||
|
|
||||||
private readonly byte[] _data;
|
private readonly byte[] _data;
|
||||||
|
|
||||||
private int _texturesCount;
|
private int _texturesCount;
|
||||||
|
@ -58,7 +60,7 @@ namespace Ryujinx.ShaderTools
|
||||||
|
|
||||||
public int QueryTextureArrayLengthFromBuffer(int slot)
|
public int QueryTextureArrayLengthFromBuffer(int slot)
|
||||||
{
|
{
|
||||||
throw new NotImplementedException();
|
return DefaultArrayLength;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue