Ryujinx/Ryujinx.Graphics/Gal/Shader/SpirvProgram.cs
ReinUsesLisp cc298c676a SPIR-V Intermediate Shading Language support
* Enable from Ryujinx.conf

* Adapt to use OpenTK.NetStandard

* Implement usage of UBOs for GLSL and SPIR-V

* Fix a NVidia related issue

* Use constant from UniformBinding
2018-06-23 14:48:53 -03:00

22 lines
No EOL
628 B
C#

using System.Collections.Generic;
namespace Ryujinx.Graphics.Gal.Shader
{
public class SpirvProgram : ShaderProgram
{
public byte[] Bytecode { get; private set; }
public IDictionary<string, int> Locations { get; private set; }
public SpirvProgram(
byte[] Bytecode,
IDictionary<string, int> Locations,
IEnumerable<ShaderDeclInfo> Textures,
IEnumerable<ShaderDeclInfo> Uniforms)
: base(Textures, Uniforms)
{
this.Bytecode = Bytecode;
this.Locations = Locations;
}
}
}