mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-03-22 14:50:17 +00:00
Mostly copied from GLSL since in terms of syntax within blocks they’re pretty similar. Likely the result will need tweaking… Isn’t that conveniant? “Do the simd_shuffle” atomics Remaining instructions Remove removed special instructions Getting somewhere…
18 lines
403 B
C#
18 lines
403 B
C#
namespace Ryujinx.Graphics.Shader.CodeGen.Msl.Instructions
|
|
{
|
|
readonly struct InstInfo
|
|
{
|
|
public InstType Type { get; }
|
|
|
|
public string OpName { get; }
|
|
|
|
public int Precedence { get; }
|
|
|
|
public InstInfo(InstType type, string opName, int precedence)
|
|
{
|
|
Type = type;
|
|
OpName = opName;
|
|
Precedence = precedence;
|
|
}
|
|
}
|
|
}
|