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
This commit is contained in:
gdkchan 2020-04-22 03:00:11 -03:00 committed by GitHub
parent c46edfab85
commit 6bfe4715f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 269 additions and 2 deletions

View file

@ -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++)
{