mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-02-11 12:01:30 +00:00
28 lines
820 B
C#
28 lines
820 B
C#
|
using Spv.Generator;
|
||
|
|
||
|
namespace Ryujinx.Graphics.Shader.CodeGen.Spirv
|
||
|
{
|
||
|
readonly struct SamplerDeclaration
|
||
|
{
|
||
|
public readonly Instruction ImageType;
|
||
|
public readonly Instruction SampledImageType;
|
||
|
public readonly Instruction SampledImagePointerType;
|
||
|
public readonly Instruction Image;
|
||
|
public readonly bool IsIndexed;
|
||
|
|
||
|
public SamplerDeclaration(
|
||
|
Instruction imageType,
|
||
|
Instruction sampledImageType,
|
||
|
Instruction sampledImagePointerType,
|
||
|
Instruction image,
|
||
|
bool isIndexed)
|
||
|
{
|
||
|
ImageType = imageType;
|
||
|
SampledImageType = sampledImageType;
|
||
|
SampledImagePointerType = sampledImagePointerType;
|
||
|
Image = image;
|
||
|
IsIndexed = isIndexed;
|
||
|
}
|
||
|
}
|
||
|
}
|