Set default Topology
This commit is contained in:
parent
95a0344eb4
commit
acbd9eb98f
1 changed files with 2 additions and 1 deletions
|
@ -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,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue