mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-06-30 04:30:48 -07:00
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:
@ -13,6 +13,11 @@ namespace Ryujinx.Graphics.Gpu.Engine
|
||||
/// <param name="argument">Method call argument</param>
|
||||
private void Clear(GpuState state, int argument)
|
||||
{
|
||||
if (!GetRenderEnable(state))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
// Scissor affects clears aswell.
|
||||
if (state.QueryModified(MethodOffset.ScissorState))
|
||||
{
|
||||
|
Reference in New Issue
Block a user