Improved GPU command lists decoding (#499)
* Better implementation of the DMA pusher, misc fixes * Remove some debug code * Correct RGBX8 format * Add support for linked Texture Sampler Control * Attempt to fix upside down screen issue
This commit is contained in:
parent
b833183ef6
commit
d2bb458b51
25 changed files with 616 additions and 395 deletions
|
@ -181,15 +181,7 @@ namespace Ryujinx.HLE.HOS.Services.Nv.NvHostChannel
|
|||
|
||||
private static void PushGpfifo(ServiceCtx Context, NvGpuVmm Vmm, long Gpfifo)
|
||||
{
|
||||
long VA = Gpfifo & 0xff_ffff_ffff;
|
||||
|
||||
int Size = (int)(Gpfifo >> 40) & 0x7ffffc;
|
||||
|
||||
byte[] Data = Vmm.ReadBytes(VA, Size);
|
||||
|
||||
NvGpuPBEntry[] PushBuffer = NvGpuPushBuffer.Decode(Data);
|
||||
|
||||
Context.Device.Gpu.Fifo.PushBuffer(Vmm, PushBuffer);
|
||||
Context.Device.Gpu.Pusher.Push(Vmm, Gpfifo);
|
||||
}
|
||||
|
||||
public static NvChannel GetChannel(ServiceCtx Context, NvChannelName Channel)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue