mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-07-14 11:16:43 +02:00
Move solution and projects to src
This commit is contained in:
parent
cd124bda58
commit
cee7121058
3466 changed files with 55 additions and 55 deletions
24
src/Ryujinx.Graphics.Shader/OutputTopology.cs
Normal file
24
src/Ryujinx.Graphics.Shader/OutputTopology.cs
Normal file
|
@ -0,0 +1,24 @@
|
|||
namespace Ryujinx.Graphics.Shader
|
||||
{
|
||||
enum OutputTopology
|
||||
{
|
||||
PointList = 1,
|
||||
LineStrip = 6,
|
||||
TriangleStrip = 7
|
||||
}
|
||||
|
||||
static class OutputTopologyExtensions
|
||||
{
|
||||
public static string ToGlslString(this OutputTopology topology)
|
||||
{
|
||||
switch (topology)
|
||||
{
|
||||
case OutputTopology.LineStrip: return "line_strip";
|
||||
case OutputTopology.PointList: return "points";
|
||||
case OutputTopology.TriangleStrip: return "triangle_strip";
|
||||
}
|
||||
|
||||
return "points";
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue