Add ATOMS, LDS, POPC, RED, STS and VOTE shader instructions, start changing the way how global memory is handled
This commit is contained in:
parent
1e8bc29f32
commit
769c02235f
44 changed files with 949 additions and 242 deletions
|
@ -6,8 +6,6 @@ namespace Ryujinx.Graphics.Gpu.Memory
|
|||
{
|
||||
private List<T> _items;
|
||||
|
||||
public int Count => _items.Count;
|
||||
|
||||
public RangeList()
|
||||
{
|
||||
_items = new List<T>();
|
||||
|
@ -57,20 +55,6 @@ namespace Ryujinx.Graphics.Gpu.Memory
|
|||
return false;
|
||||
}
|
||||
|
||||
public bool CanExitEarly(ulong address, ulong size)
|
||||
{
|
||||
int index = BinarySearch(address, size);
|
||||
|
||||
if (index >= 0)
|
||||
{
|
||||
T item = _items[index];
|
||||
|
||||
return address >= item.Address && address + size <= item.Address + item.Size;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
public T FindFirstOverlap(T item)
|
||||
{
|
||||
return FindFirstOverlap(item.Address, item.Size);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue