IMacroEE.cs 754 B

12345678910111213141516171819202122232425
  1. using Ryujinx.Graphics.Gpu.State;
  2. using System;
  3. using System.Collections.Generic;
  4. namespace Ryujinx.Graphics.Gpu.Engine.MME
  5. {
  6. /// <summary>
  7. /// Macro Execution Engine interface.
  8. /// </summary>
  9. interface IMacroEE
  10. {
  11. /// <summary>
  12. /// Arguments FIFO.
  13. /// </summary>
  14. public Queue<int> Fifo { get; }
  15. /// <summary>
  16. /// Should execute the GPU Macro code being passed.
  17. /// </summary>
  18. /// <param name="code">Code to be executed</param>
  19. /// <param name="state">GPU state at the time of the call</param>
  20. /// <param name="arg0">First argument to be passed to the GPU Macro</param>
  21. void Execute(ReadOnlySpan<int> code, GpuState state, int arg0);
  22. }
  23. }