mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-11 10:52:00 +00:00
5795bb1528
* Support separate textures and samplers * Add missing bindless flag, fix SNORM format on buffer textures * Add missing separation * Add comments about the new handles
31 lines
No EOL
931 B
C#
31 lines
No EOL
931 B
C#
using Ryujinx.Graphics.Shader.IntermediateRepresentation;
|
|
|
|
namespace Ryujinx.Graphics.Shader.StructuredIr
|
|
{
|
|
class AstTextureOperation : AstOperation
|
|
{
|
|
public SamplerType Type { get; }
|
|
public TextureFormat Format { get; set; }
|
|
public TextureFlags Flags { get; }
|
|
|
|
public int Handle { get; }
|
|
public int ArraySize { get; }
|
|
|
|
public AstTextureOperation(
|
|
Instruction inst,
|
|
SamplerType type,
|
|
TextureFormat format,
|
|
TextureFlags flags,
|
|
int handle,
|
|
int arraySize,
|
|
int index,
|
|
params IAstNode[] sources) : base(inst, index, sources)
|
|
{
|
|
Type = type;
|
|
Format = format;
|
|
Flags = flags;
|
|
Handle = handle;
|
|
ArraySize = arraySize;
|
|
}
|
|
}
|
|
} |