diff options
Diffstat (limited to 'Ryujinx.Graphics/Gal/ShaderDeclInfo.cs')
-rw-r--r-- | Ryujinx.Graphics/Gal/ShaderDeclInfo.cs | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/Ryujinx.Graphics/Gal/ShaderDeclInfo.cs b/Ryujinx.Graphics/Gal/ShaderDeclInfo.cs deleted file mode 100644 index f1f4650c..00000000 --- a/Ryujinx.Graphics/Gal/ShaderDeclInfo.cs +++ /dev/null @@ -1,45 +0,0 @@ -using Ryujinx.Graphics.Texture; - -namespace Ryujinx.Graphics.Gal -{ - public class ShaderDeclInfo - { - public string Name { get; private set; } - - public int Index { get; private set; } - public bool IsCb { get; private set; } - public int Cbuf { get; private set; } - public int Size { get; private set; } - - public GalTextureTarget TextureTarget { get; private set; } - - public TextureInstructionSuffix TextureSuffix { get; private set; } - - public ShaderDeclInfo( - string name, - int index, - bool isCb = false, - int cbuf = 0, - int size = 1, - GalTextureTarget textureTarget = GalTextureTarget.TwoD, - TextureInstructionSuffix textureSuffix = TextureInstructionSuffix.None) - { - Name = name; - Index = index; - IsCb = isCb; - Cbuf = cbuf; - Size = size; - - TextureTarget = textureTarget; - TextureSuffix = textureSuffix; - } - - internal void Enlarge(int newSize) - { - if (Size < newSize) - { - Size = newSize; - } - } - } -}
\ No newline at end of file |