From 6bfe4715f05be10c73a788abd8727293a7eca77e Mon Sep 17 00:00:00 2001 From: gdkchan Date: Wed, 22 Apr 2020 03:00:11 -0300 Subject: Initial conditional rendering support (#1012) * Initial conditional rendering support * Properly reset state * Support conditional modes and skeleton a counter cache for future host conditional rendering * Address PR feedback --- Ryujinx.Graphics.Gpu/State/GpuState.cs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Ryujinx.Graphics.Gpu/State') diff --git a/Ryujinx.Graphics.Gpu/State/GpuState.cs b/Ryujinx.Graphics.Gpu/State/GpuState.cs index 9e0e50a0..981b96b7 100644 --- a/Ryujinx.Graphics.Gpu/State/GpuState.cs +++ b/Ryujinx.Graphics.Gpu/State/GpuState.cs @@ -133,6 +133,9 @@ namespace Ryujinx.Graphics.Gpu.State // Default front stencil mask. _backingMemory[0x4e7] = 0xff; + // Conditional rendering condition. + _backingMemory[0x556] = (int)Condition.Always; + // Default color mask. for (int index = 0; index < Constants.TotalRenderTargets; index++) { -- cgit v1.2.3