More Shader Gen Stuff

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…
This commit is contained in:
Isaac Marovitz
2023-08-03 23:21:22 -04:00
committed by Evan Husted
parent 5a802a550b
commit 4b5c3d7fc6
13 changed files with 911 additions and 51 deletions

View File

@@ -6,10 +6,13 @@ namespace Ryujinx.Graphics.Shader.CodeGen.Msl.Instructions
public string OpName { get; }
public InstInfo(InstType type, string opName)
public int Precedence { get; }
public InstInfo(InstType type, string opName, int precedence)
{
Type = type;
OpName = opName;
Precedence = precedence;
}
}
}