2018-04-08 21:17:35 +02:00
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
namespace Ryujinx.Graphics.Gal.Shader
|
|
|
|
{
|
2018-06-20 18:30:18 +02:00
|
|
|
public class GlslProgram : ShaderProgram
|
2018-04-08 21:17:35 +02:00
|
|
|
{
|
|
|
|
public string Code { get; private set; }
|
|
|
|
|
|
|
|
public GlslProgram(
|
|
|
|
string Code,
|
|
|
|
IEnumerable<ShaderDeclInfo> Textures,
|
|
|
|
IEnumerable<ShaderDeclInfo> Uniforms)
|
2018-06-20 18:30:18 +02:00
|
|
|
: base(Textures, Uniforms)
|
2018-04-08 21:17:35 +02:00
|
|
|
{
|
2018-06-20 18:30:18 +02:00
|
|
|
this.Code = Code;
|
2018-04-08 21:17:35 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|