Set default Topology

This commit is contained in:
sunshineinabox 2024-09-29 17:14:50 -07:00
parent 95a0344eb4
commit acbd9eb98f

View file

@ -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 else
{ {
@ -406,6 +406,7 @@ namespace Ryujinx.Graphics.Gpu.Shader.DiskCache
PrimitiveTopology.Quads => PrimitiveTopology.Quads, PrimitiveTopology.Quads => PrimitiveTopology.Quads,
PrimitiveTopology.QuadStrip => PrimitiveTopology.QuadStrip, PrimitiveTopology.QuadStrip => PrimitiveTopology.QuadStrip,
PrimitiveTopology.LineLoop => PrimitiveTopology.LineLoop, PrimitiveTopology.LineLoop => PrimitiveTopology.LineLoop,
_ => PrimitiveTopology.TriangleStrip,
}; };
} }