namespace Ryujinx.Graphics.Gpu.Shader
{
///
/// State used by the .
///
struct GpuAccessorState
{
///
/// GPU virtual address of the texture pool.
///
public ulong TexturePoolGpuVa { get; }
///
/// Maximum ID of the texture pool.
///
public int TexturePoolMaximumId { get; }
///
/// Constant buffer slot where the texture handles are located.
///
public int TextureBufferIndex { get; }
///
/// Early Z force enable.
///
public bool EarlyZForce { get; }
///
/// Creates a new instance of the GPU accessor state.
///
/// GPU virtual address of the texture pool
/// Maximum ID of the texture pool
/// Constant buffer slot where the texture handles are located
/// Early Z force enable
public GpuAccessorState(ulong texturePoolGpuVa, int texturePoolMaximumId, int textureBufferIndex, bool earlyZForce)
{
TexturePoolGpuVa = texturePoolGpuVa;
TexturePoolMaximumId = texturePoolMaximumId;
TextureBufferIndex = textureBufferIndex;
EarlyZForce = earlyZForce;
}
}
}