aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.GAL/Multithreading/ThreadedPipeline.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2023-02-19 22:37:37 -0300
committerGitHub <noreply@github.com>2023-02-19 22:37:37 -0300
commit7aa430f1a51fd793971992b4454540975222b848 (patch)
treee6a33e3df7aa5155b7c597b2ff226178f57434d1 /Ryujinx.Graphics.GAL/Multithreading/ThreadedPipeline.cs
parent6bf460e1041b969a453dc40ee6fb83164739bf9c (diff)
Add support for advanced blend (part 1/2) (#2801)1.1.626
* Add blend microcode registers * Add advanced blend support using host extension * Remove debug message * Use pre-generated table for blend functions * XML docs * Rename AdvancedBlendMode to AdvancedBlendOp for consistency * Remove redundant code * Fix some advanced blend related issues on Vulkan * Formatting
Diffstat (limited to 'Ryujinx.Graphics.GAL/Multithreading/ThreadedPipeline.cs')
-rw-r--r--Ryujinx.Graphics.GAL/Multithreading/ThreadedPipeline.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.GAL/Multithreading/ThreadedPipeline.cs b/Ryujinx.Graphics.GAL/Multithreading/ThreadedPipeline.cs
index ba120867..1bdc9cf4 100644
--- a/Ryujinx.Graphics.GAL/Multithreading/ThreadedPipeline.cs
+++ b/Ryujinx.Graphics.GAL/Multithreading/ThreadedPipeline.cs
@@ -131,6 +131,12 @@ namespace Ryujinx.Graphics.GAL.Multithreading
_renderer.QueueCommand();
}
+ public void SetBlendState(AdvancedBlendDescriptor blend)
+ {
+ _renderer.New<SetBlendStateAdvancedCommand>().Set(blend);
+ _renderer.QueueCommand();
+ }
+
public void SetBlendState(int index, BlendDescriptor blend)
{
_renderer.New<SetBlendStateCommand>().Set(index, blend);