Merge shader branch, adding support for GLSL decompilation, a macro
interpreter, and a rewrite of the GPU code.
This commit is contained in:
parent
7acd0e0122
commit
b9aa3966c0
77 changed files with 5301 additions and 766 deletions
27
Ryujinx.Graphics/Gal/ShaderDeclInfo.cs
Normal file
27
Ryujinx.Graphics/Gal/ShaderDeclInfo.cs
Normal file
|
@ -0,0 +1,27 @@
|
|||
namespace Ryujinx.Graphics.Gal
|
||||
{
|
||||
public class ShaderDeclInfo
|
||||
{
|
||||
public string Name { get; private set; }
|
||||
|
||||
public int Index { get; private set; }
|
||||
public int Cbuf { get; private set; }
|
||||
public int Size { get; private set; }
|
||||
|
||||
public ShaderDeclInfo(string Name, int Index, int Cbuf = 0, int Size = 1)
|
||||
{
|
||||
this.Name = Name;
|
||||
this.Index = Index;
|
||||
this.Cbuf = Cbuf;
|
||||
this.Size = Size;
|
||||
}
|
||||
|
||||
internal void Enlarge(int NewSize)
|
||||
{
|
||||
if (Size < NewSize)
|
||||
{
|
||||
Size = NewSize;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue