diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2020-04-22 03:00:11 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-22 16:00:11 +1000 |
| commit | 6bfe4715f05be10c73a788abd8727293a7eca77e (patch) | |
| tree | 2cb319f53b0c4b846352a9836772c3eff4b1db1d /Ryujinx.Graphics.Gpu/State | |
| parent | c46edfab858051e4b800b2705df2c019c1d975cd (diff) | |
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
Diffstat (limited to 'Ryujinx.Graphics.Gpu/State')
| -rw-r--r-- | Ryujinx.Graphics.Gpu/State/GpuState.cs | 3 |
1 files changed, 3 insertions, 0 deletions
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++) { |
