Import the base tree (MIT, see LICENSE)

This commit is contained in:
Valiantsin Dzerakh
2026-11-04 22:16:41 +03:00
committed by chrg6
commit 0478c13e45
734 changed files with 233953 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
namespace Ryujinx.Graphics.Shader
{
enum OutputTopology
{
PointList = 1,
LineStrip = 6,
TriangleStrip = 7,
}
static class OutputTopologyExtensions
{
extension(OutputTopology topology)
{
public string GlslString => topology switch
{
OutputTopology.LineStrip => "line_strip",
OutputTopology.PointList => "points",
OutputTopology.TriangleStrip => "triangle_strip",
_ => "points",
};
}
}
}