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/ShaderProgram.cs
gdkchan 4047477866
Simplify handling of shader vertex A (#1999)
* Simplify handling of shader vertex A

* Theres no transformation feedback, its transform

* Merge TextureHandlesForCache
2021-02-08 10:42:17 +11:00

22 lines
No EOL
438 B
C#

using System;
namespace Ryujinx.Graphics.Shader
{
public class ShaderProgram
{
public ShaderStage Stage { get; }
public string Code { get; private set; }
public ShaderProgram(ShaderStage stage, string code)
{
Stage = stage;
Code = code;
}
public void Prepend(string line)
{
Code = line + Environment.NewLine + Code;
}
}
}