mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-01-02 14:03:04 +00:00
cc298c676a
* 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
22 lines
No EOL
628 B
C#
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;
|
|
}
|
|
}
|
|
} |