2019-02-27 17:12:24 -08:00
|
|
|
using Ryujinx.Graphics.Texture;
|
|
|
|
|
2018-04-10 12:50:32 -07:00
|
|
|
namespace Ryujinx.Graphics.Gal.Shader
|
|
|
|
{
|
|
|
|
class ShaderIrMetaTex : ShaderIrMeta
|
|
|
|
{
|
2019-02-27 17:12:24 -08: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 12:50:32 -07:00
|
|
|
|
2019-03-03 17:45:25 -08:00
|
|
|
public ShaderIrMetaTex(int elem, GalTextureTarget textureTarget, TextureInstructionSuffix textureInstructionSuffix, params ShaderIrNode[] coordinates)
|
2018-04-10 12:50:32 -07:00
|
|
|
{
|
2019-03-03 17:45:25 -08:00
|
|
|
Elem = elem;
|
|
|
|
TextureTarget = textureTarget;
|
|
|
|
TextureInstructionSuffix = textureInstructionSuffix;
|
|
|
|
Coordinates = coordinates;
|
2018-04-10 12:50:32 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|