mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-08-18 06:38:42 +02:00
* Initial implementation of the texture cache * Cache vertex and index data aswell, some cleanup * Improve handling of the cache by storing cached ranges on a list for each page * Delete old data from the caches automatically, ensure that the cache is cleaned when the mapping/size changes, and some general cleanup
23 lines
565 B
C#
23 lines
565 B
C#
using System;
|
|
using System.Collections.ObjectModel;
|
|
|
|
namespace Ryujinx.Core.Gpu
|
|
{
|
|
struct NvGpuPBEntry
|
|
{
|
|
public int Method { get; private set; }
|
|
|
|
public int SubChannel { get; private set; }
|
|
|
|
private int[] m_Arguments;
|
|
|
|
public ReadOnlyCollection<int> Arguments => Array.AsReadOnly(m_Arguments);
|
|
|
|
public NvGpuPBEntry(int Method, int SubChannel, params int[] Arguments)
|
|
{
|
|
this.Method = Method;
|
|
this.SubChannel = SubChannel;
|
|
this.m_Arguments = Arguments;
|
|
}
|
|
}
|
|
} |