mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-26 08:46:02 +00:00
Attempt to resolve more validation errors.
This commit is contained in:
parent
89dee194d2
commit
74a1ab031d
1 changed files with 1 additions and 6 deletions
|
@ -489,7 +489,7 @@ namespace Ryujinx.Graphics.Vulkan
|
|||
|
||||
private readonly void RecordStencil(VulkanRenderer gd, CommandBuffer commandBuffer)
|
||||
{
|
||||
if (_opToo && StencilTestEnable)
|
||||
if (_opToo)
|
||||
{
|
||||
gd.ExtendedDynamicStateApi.CmdSetStencilOp(commandBuffer, StencilFaceFlags.FaceBackBit, _backfailop, _backpassop,
|
||||
_backdepthfailop, _backcompareop);
|
||||
|
@ -569,11 +569,6 @@ namespace Ryujinx.Graphics.Vulkan
|
|||
|
||||
private readonly void RecordLogicOp(VulkanRenderer gd, CommandBuffer commandBuffer)
|
||||
{
|
||||
if (gd.ExtendedDynamicState3Features.ExtendedDynamicState3LogicOpEnable && !_logicOpEnable)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
gd.ExtendedDynamicState2Api.CmdSetLogicOp(commandBuffer, _logicOp);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue