mirror of
https://github.com/GreemDev/Ryujinx
synced 2024-11-22 17:56:59 +01: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
No EOL
565 B
C#
23 lines
No EOL
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;
|
|
}
|
|
}
|
|
} |