diff options
author | riperiperi <rhy3756547@hotmail.com> | 2022-10-26 00:49:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-25 23:49:23 +0000 |
commit | 9719b6a1129c017d96532ff026e2bb933c0b2d0b (patch) | |
tree | a1715212ffd9896c1f283f3a8a5b5433b00dc819 /Ryujinx.Graphics.Vulkan/PipelineConverter.cs | |
parent | f70236f9477ccae43d3d44f91445a44c7cabb4de (diff) |
Vulkan: Use dynamic state for blend constants (#3793)1.1.327
Diffstat (limited to 'Ryujinx.Graphics.Vulkan/PipelineConverter.cs')
-rw-r--r-- | Ryujinx.Graphics.Vulkan/PipelineConverter.cs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Ryujinx.Graphics.Vulkan/PipelineConverter.cs b/Ryujinx.Graphics.Vulkan/PipelineConverter.cs index 477d0cec..55d29ffa 100644 --- a/Ryujinx.Graphics.Vulkan/PipelineConverter.cs +++ b/Ryujinx.Graphics.Vulkan/PipelineConverter.cs @@ -135,11 +135,6 @@ namespace Ryujinx.Graphics.Vulkan // It is assumed that Dynamic State is enabled when this conversion is used. - pipeline.BlendConstantA = state.BlendDescriptors[0].BlendConstant.Alpha; - pipeline.BlendConstantB = state.BlendDescriptors[0].BlendConstant.Blue; - pipeline.BlendConstantG = state.BlendDescriptors[0].BlendConstant.Green; - pipeline.BlendConstantR = state.BlendDescriptors[0].BlendConstant.Red; - pipeline.CullMode = state.CullEnable ? state.CullMode.Convert() : CullModeFlags.CullModeNone; pipeline.DepthBoundsTestEnable = false; // Not implemented. |