2019-02-28 02:12:24 +01:00
|
|
|
using Ryujinx.Graphics.Texture;
|
|
|
|
|
2018-04-10 21:50:32 +02:00
|
|
|
namespace Ryujinx.Graphics.Gal.Shader
|
|
|
|
{
|
|
|
|
class ShaderIrMetaTex : ShaderIrMeta
|
|
|
|
{
|
2019-02-28 02:12:24 +01: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 21:50:32 +02:00
|
|
|
|
2019-02-28 02:12:24 +01:00
|
|
|
public ShaderIrMetaTex(int Elem, GalTextureTarget TextureTarget, TextureInstructionSuffix TextureInstructionSuffix, params ShaderIrNode[] Coordinates)
|
2018-04-10 21:50:32 +02:00
|
|
|
{
|
2019-02-28 02:12:24 +01:00
|
|
|
this.Elem = Elem;
|
|
|
|
this.TextureTarget = TextureTarget;
|
|
|
|
this.TextureInstructionSuffix = TextureInstructionSuffix;
|
|
|
|
this.Coordinates = Coordinates;
|
2018-04-10 21:50:32 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|