mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-05-22 21:25:48 +00:00
language feature: Extension Members: Graphics related, enums
This commit is contained in:
@@ -9,9 +9,9 @@ namespace Ryujinx.Graphics.Shader
|
||||
|
||||
static class TessPatchTypeExtensions
|
||||
{
|
||||
public static string ToGlsl(this TessPatchType type)
|
||||
extension(TessPatchType patchType)
|
||||
{
|
||||
return type switch
|
||||
public string Glsl => patchType switch
|
||||
{
|
||||
TessPatchType.Isolines => "isolines",
|
||||
TessPatchType.Quads => "quads",
|
||||
|
||||
Reference in New Issue
Block a user