2019-02-28 01:12:24 +00:00
|
|
|
using Ryujinx.Graphics.Texture;
|
|
|
|
|
2018-04-10 20:50:32 +01:00
|
|
|
namespace Ryujinx.Graphics.Gal.Shader
|
|
|
|
{
|
|
|
|
class ShaderIrMetaTex : ShaderIrMeta
|
|
|
|
{
|
2019-02-28 01:12:24 +00:00
|
|
|
public int Elem { get; private set; }
|
|
|
|
public GalTextureTarget TextureTarget { get; private set; }
|
|
|
|
public ShaderIrNode[] Coordinates { get; private set; }
|
|
|
|
public TextureInstructionSuffix TextureInstructionSuffix { get; private set; }
|
|
|
|
public ShaderIrOperGpr LevelOfDetail;
|
|
|
|
public ShaderIrOperGpr Offset;
|
|
|
|
public ShaderIrOperGpr DepthCompare;
|
|
|
|
public int Component; // for TLD4(S)
|
2018-04-10 20:50:32 +01:00
|
|
|
|
2019-02-28 01:12:24 +00:00
|
|
|
public ShaderIrMetaTex(int Elem, GalTextureTarget TextureTarget, TextureInstructionSuffix TextureInstructionSuffix, params ShaderIrNode[] Coordinates)
|
2018-04-10 20:50:32 +01:00
|
|
|
{
|
2019-02-28 01:12:24 +00:00
|
|
|
this.Elem = Elem;
|
|
|
|
this.TextureTarget = TextureTarget;
|
|
|
|
this.TextureInstructionSuffix = TextureInstructionSuffix;
|
|
|
|
this.Coordinates = Coordinates;
|
2018-04-10 20:50:32 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|