mirror of
https://github.com/Ryubing/Ryujinx.git
synced 2025-11-19 21:10:53 -05:00
don't recreate render pipeline unless we're about to draw, pass view depth properly (#22)
This commit is contained in:
@@ -46,12 +46,7 @@ namespace Ryujinx.Graphics.Metal
|
||||
levels.length = (ulong)Info.Levels;
|
||||
NSRange slices;
|
||||
slices.location = (ulong)firstLayer;
|
||||
slices.length = 1;
|
||||
|
||||
if (info.Target != Target.Texture3D && info.Target != Target.Cubemap)
|
||||
{
|
||||
slices.length = (ulong)Info.Depth;
|
||||
}
|
||||
slices.length = (ulong)Info.Depth;
|
||||
|
||||
var swizzle = GetSwizzle(info, pixelFormat);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user