Rewrite shader decoding stage (#2698)

* Rewrite shader decoding stage

* Fix P2R constant buffer encoding

* Fix PSET/PSETP

* PR feedback

* Log unimplemented shader instructions

* Implement NOP

* Remove using

* PR feedback
This commit is contained in:
gdkchan
2021-10-12 22:35:31 +02:00
committed by GitHub
parent 0510fde25a
commit a7109c767b
168 changed files with 12022 additions and 6388 deletions
+4 -7
View File
@@ -1,4 +1,6 @@
namespace Ryujinx.Graphics.Shader
using System;
namespace Ryujinx.Graphics.Shader
{
public interface IGpuAccessor
{
@@ -12,12 +14,7 @@
return 0;
}
T MemoryRead<T>(ulong address) where T : unmanaged;
bool MemoryMapped(ulong address)
{
return true;
}
ReadOnlySpan<ulong> GetCode(ulong address, int minimumSize);
int QueryComputeLocalSizeX()
{