Vulkan: Use dynamic state for blend constants (#3793)
This commit is contained in:
parent
f70236f947
commit
9719b6a112
4 changed files with 36 additions and 16 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue