0
0
Fork 0
This repository has been archived on 2024-10-12. You can view files and clone it, but cannot push or open issues or pull requests.
ryujinx-final/Ryujinx.Graphics.Shader/TessPatchType.cs

22 lines
472 B
C#
Raw Normal View History

namespace Ryujinx.Graphics.Shader
{
public enum TessPatchType
{
Isolines = 0,
Triangles = 1,
Quads = 2
}
static class TessPatchTypeExtensions
{
public static string ToGlsl(this TessPatchType type)
{
return type switch
{
TessPatchType.Isolines => "isolines",
TessPatchType.Quads => "quads",
_ => "triangles"
};
}
}
}