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:
@ -35,8 +35,15 @@ namespace Ryujinx.Graphics.Gpu.Engine
|
||||
/// <param name="argument">Method call argument</param>
|
||||
private void DrawEnd(GpuState state, int argument)
|
||||
{
|
||||
if (_instancedDrawPending)
|
||||
bool renderEnable = GetRenderEnable(state);
|
||||
|
||||
if (!renderEnable || _instancedDrawPending)
|
||||
{
|
||||
if (!renderEnable)
|
||||
{
|
||||
PerformDeferredDraws();
|
||||
}
|
||||
|
||||
_drawIndexed = false;
|
||||
|
||||
return;
|
||||
|
Reference in New Issue
Block a user