mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-08 15:48:33 +00:00
231fae1a4c
* 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;
|
|
}
|
|
}
|
|
} |