mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-21 10:09:59 -04:00
Import the base tree (MIT, see LICENSE)
This commit is contained in:
22
tools/vendor/ryujinx/src/Ryujinx.Graphics.Shader/TessSpacing.cs
vendored
Normal file
22
tools/vendor/ryujinx/src/Ryujinx.Graphics.Shader/TessSpacing.cs
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
namespace Ryujinx.Graphics.Shader
|
||||
{
|
||||
public enum TessSpacing
|
||||
{
|
||||
EqualSpacing = 0,
|
||||
FractionalEventSpacing = 1,
|
||||
FractionalOddSpacing = 2,
|
||||
}
|
||||
|
||||
static class TessSpacingExtensions
|
||||
{
|
||||
extension(TessSpacing spacing)
|
||||
{
|
||||
public string Glsl => spacing switch
|
||||
{
|
||||
TessSpacing.FractionalEventSpacing => "fractional_even_spacing",
|
||||
TessSpacing.FractionalOddSpacing => "fractional_odd_spacing",
|
||||
_ => "equal_spacing",
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user