mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-24 04:17:11 +02:00
misc: chore: Use explicit types in Metal project
This commit is contained in:
parent
1ae349efb1
commit
76ec047eb7
28 changed files with 315 additions and 313 deletions
|
@ -189,14 +189,14 @@ namespace Ryujinx.Graphics.Metal
|
|||
|
||||
if (indefinite)
|
||||
{
|
||||
foreach (var fence in fences)
|
||||
foreach (MTLCommandBuffer fence in fences)
|
||||
{
|
||||
fence.WaitUntilCompleted();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
foreach (var fence in fences)
|
||||
foreach (MTLCommandBuffer fence in fences)
|
||||
{
|
||||
if (fence.Status != MTLCommandBufferStatus.Completed)
|
||||
{
|
||||
|
@ -224,7 +224,7 @@ namespace Ryujinx.Graphics.Metal
|
|||
|
||||
for (int i = 0; i < _fences.Length; i++)
|
||||
{
|
||||
var fence = _fences[i];
|
||||
FenceHolder fence = _fences[i];
|
||||
|
||||
if (fence != null)
|
||||
{
|
||||
|
@ -248,7 +248,7 @@ namespace Ryujinx.Graphics.Metal
|
|||
|
||||
for (int i = 0; i < _fences.Length; i++)
|
||||
{
|
||||
var fence = _fences[i];
|
||||
FenceHolder fence = _fences[i];
|
||||
|
||||
if (fence != null && _bufferUsageBitmap.OverlapsWith(i, offset, size))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue