diff options
author | gdkchan <gab.dark.100@gmail.com> | 2021-11-10 15:37:49 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-10 15:37:49 -0300 |
commit | 611bec6e44effa90554c95ed1fe4dd4812893947 (patch) | |
tree | 679e67c1253f88c3ceef9a98a6109ebede39e352 /Ryujinx.Graphics.GAL/Multithreading/CommandHelper.cs | |
parent | bc00a251dd14f7cce4023a42bb76d23165755006 (diff) |
Implement DrawTexture functionality (#2747)
* Implement DrawTexture functionality
* Non-NVIDIA support
* Disable some features that should not affect draw texture (slow path)
* Remove space from shader source
* Match 2D engine names
* Fix resolution scale and add missing XML docs
* Disable transform feedback for draw texture fallback
Diffstat (limited to 'Ryujinx.Graphics.GAL/Multithreading/CommandHelper.cs')
-rw-r--r-- | Ryujinx.Graphics.GAL/Multithreading/CommandHelper.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.GAL/Multithreading/CommandHelper.cs b/Ryujinx.Graphics.GAL/Multithreading/CommandHelper.cs index 47ceeb7d..6111e32c 100644 --- a/Ryujinx.Graphics.GAL/Multithreading/CommandHelper.cs +++ b/Ryujinx.Graphics.GAL/Multithreading/CommandHelper.cs @@ -143,6 +143,8 @@ namespace Ryujinx.Graphics.GAL.Multithreading DrawCommand.Run(ref GetCommand<DrawCommand>(memory), threaded, renderer); _lookup[(int)CommandType.DrawIndexed] = (Span<byte> memory, ThreadedRenderer threaded, IRenderer renderer) => DrawIndexedCommand.Run(ref GetCommand<DrawIndexedCommand>(memory), threaded, renderer); + _lookup[(int)CommandType.DrawTexture] = (Span<byte> memory, ThreadedRenderer threaded, IRenderer renderer) => + DrawTextureCommand.Run(ref GetCommand<DrawTextureCommand>(memory), threaded, renderer); _lookup[(int)CommandType.EndHostConditionalRendering] = (Span<byte> memory, ThreadedRenderer threaded, IRenderer renderer) => EndHostConditionalRenderingCommand.Run(renderer); _lookup[(int)CommandType.EndTransformFeedback] = (Span<byte> memory, ThreadedRenderer threaded, IRenderer renderer) => |