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-03-04 02:45:25 +01:00
|
|
|
public ShaderIrMetaTex(int elem, GalTextureTarget textureTarget, TextureInstructionSuffix textureInstructionSuffix, params ShaderIrNode[] coordinates)
|
2018-04-10 21:50:32 +02:00
|
|
|
{
|
2019-03-04 02:45:25 +01:00
|
|
|
Elem = elem;
|
|
|
|
TextureTarget = textureTarget;
|
|
|
|
TextureInstructionSuffix = textureInstructionSuffix;
|
|
|
|
Coordinates = coordinates;
|
2018-04-10 21:50:32 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|