From acbd9eb98fdc4a6a6965c0cb36c22ea6b4486e68 Mon Sep 17 00:00:00 2001 From: sunshineinabox Date: Sun, 29 Sep 2024 17:14:50 -0700 Subject: [PATCH] Set default Topology --- .../Shader/DiskCache/ParallelDiskCacheLoader.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Ryujinx.Graphics.Gpu/Shader/DiskCache/ParallelDiskCacheLoader.cs b/src/Ryujinx.Graphics.Gpu/Shader/DiskCache/ParallelDiskCacheLoader.cs index 2db19096cc..1e09f0bf98 100644 --- a/src/Ryujinx.Graphics.Gpu/Shader/DiskCache/ParallelDiskCacheLoader.cs +++ b/src/Ryujinx.Graphics.Gpu/Shader/DiskCache/ParallelDiskCacheLoader.cs @@ -363,7 +363,7 @@ namespace Ryujinx.Graphics.Gpu.Shader.DiskCache } } - Logger.Info?.Print(LogClass.Gpu, $"Rebuilt {_programList.Count} shaders successfully."); + Logger.Info?.Print(LogClass.Gpu, $"Rebuilt {packagedShaders} shaders successfully."); } else { @@ -406,6 +406,7 @@ namespace Ryujinx.Graphics.Gpu.Shader.DiskCache PrimitiveTopology.Quads => PrimitiveTopology.Quads, PrimitiveTopology.QuadStrip => PrimitiveTopology.QuadStrip, PrimitiveTopology.LineLoop => PrimitiveTopology.LineLoop, + _ => PrimitiveTopology.TriangleStrip, }; }