mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-16 22:06:36 +00:00
Attempt to resolve more validation errors.
This commit is contained in:
parent
89dee194d2
commit
74a1ab031d
@ -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 New Issue
Block a user