mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-08-18 14:52:00 +00:00
* editorconfig: Add default charset * Change file encoding from UTF-8-BOM to UTF-8
20 lines
477 B
C#
20 lines
477 B
C#
using Ryujinx.Graphics.Shader.Translation;
|
|
using Spv.Generator;
|
|
|
|
namespace Ryujinx.Graphics.Shader.CodeGen.Spirv
|
|
{
|
|
readonly struct OperationResult
|
|
{
|
|
public static OperationResult Invalid => new(AggregateType.Invalid, null);
|
|
|
|
public AggregateType Type { get; }
|
|
public Instruction Value { get; }
|
|
|
|
public OperationResult(AggregateType type, Instruction value)
|
|
{
|
|
Type = type;
|
|
Value = value;
|
|
}
|
|
}
|
|
}
|