Remove ShaderDeclInfo and other unused things
This commit is contained in:
parent
33390035c4
commit
39bcfde90b
3 changed files with 0 additions and 66 deletions
|
@ -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;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,5 +1,3 @@
|
||||||
using Ryujinx.Graphics.Shader.Instructions;
|
|
||||||
|
|
||||||
namespace Ryujinx.Graphics.Shader.Decoders
|
namespace Ryujinx.Graphics.Shader.Decoders
|
||||||
{
|
{
|
||||||
interface IOpCodeHfma : IOpCode
|
interface IOpCodeHfma : IOpCode
|
||||||
|
|
|
@ -1,19 +0,0 @@
|
||||||
using System;
|
|
||||||
|
|
||||||
namespace Ryujinx.Graphics.Texture
|
|
||||||
{
|
|
||||||
[Flags]
|
|
||||||
public enum TextureInstructionSuffix
|
|
||||||
{
|
|
||||||
None = 0x00, // No Modifier
|
|
||||||
Lz = 0x02, // Load LOD Zero
|
|
||||||
Lb = 0x08, // Load Bias
|
|
||||||
Ll = 0x10, // Load LOD
|
|
||||||
Lba = 0x20, // Load Bias with OperA? Auto?
|
|
||||||
Lla = 0x40, // Load LOD with OperA? Auto?
|
|
||||||
Dc = 0x80, // Depth Compare
|
|
||||||
AOffI = 0x100, // Offset
|
|
||||||
Mz = 0x200, // Multisample Zero?
|
|
||||||
Ptp = 0x400 // ???
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Add table
Add a link
Reference in a new issue