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