Remove use of reflection on GAL multithreading (#4287)

* Introduce new IGALCommand<T> interface and use it

* Remove use of reflection on GAL multithreading

* Unmanaged constraint
This commit is contained in:
gdkchan 2023-01-21 21:07:43 -03:00 committed by GitHub
parent 7b7f62c776
commit 7fea26e97e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
89 changed files with 192 additions and 281 deletions

View file

@ -1,6 +1,6 @@
namespace Ryujinx.Graphics.GAL.Multithreading.Commands
{
struct DrawIndexedIndirectCommand : IGALCommand
struct DrawIndexedIndirectCommand : IGALCommand, IGALCommand<DrawIndexedIndirectCommand>
{
public CommandType CommandType => CommandType.DrawIndexedIndirect;
private BufferRange _indirectBuffer;