mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-04-24 06:47:44 +02:00
Merge branch 'master_fix_occolusion_culling' into 'master'
Added: Fix Occlusion Culling See merge request ryubing/ryujinx!19
This commit is contained in:
commit
9e7c057999
1 changed files with 5 additions and 0 deletions
|
@ -165,6 +165,11 @@ namespace Ryujinx.Graphics.Gpu.Engine.Threed
|
||||||
Timestamp = ticks,
|
Timestamp = ticks,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if (result <= 0)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (counter?.Invalid != true)
|
if (counter?.Invalid != true)
|
||||||
{
|
{
|
||||||
_channel.MemoryManager.Write(gpuVa, counterData);
|
_channel.MemoryManager.Write(gpuVa, counterData);
|
||||||
|
|
Loading…
Add table
Reference in a new issue