Isn’t that conveniant?
This commit is contained in:
parent
a967cde499
commit
c614238fc6
3 changed files with 2 additions and 6 deletions
|
@ -2,9 +2,6 @@ namespace Ryujinx.Graphics.Shader.CodeGen.Msl
|
|||
{
|
||||
static class HelperFunctionNames
|
||||
{
|
||||
public static string MultiplyHighS32 = "helperMultiplyHighS32";
|
||||
public static string MultiplyHighU32 = "helperMultiplyHighU32";
|
||||
|
||||
public static string Shuffle = "helperShuffle";
|
||||
public static string ShuffleDown = "helperShuffleDown";
|
||||
public static string ShuffleUp = "helperShuffleUp";
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
template<>
|
||||
inline bool voteAllEqual(bool value)
|
||||
{
|
||||
return simd_all(value) || !simd_any(value);
|
||||
|
|
|
@ -98,8 +98,8 @@ namespace Ryujinx.Graphics.Shader.CodeGen.Msl.Instructions
|
|||
Add(Instruction.MinimumU32, InstType.CallBinary, "min");
|
||||
Add(Instruction.Modulo, InstType.CallBinary, "%");
|
||||
Add(Instruction.Multiply, InstType.OpBinaryCom, "*", 1);
|
||||
Add(Instruction.MultiplyHighS32, InstType.CallBinary, HelperFunctionNames.MultiplyHighS32);
|
||||
Add(Instruction.MultiplyHighU32, InstType.CallBinary, HelperFunctionNames.MultiplyHighU32);
|
||||
Add(Instruction.MultiplyHighS32, InstType.CallBinary, "mulhi");
|
||||
Add(Instruction.MultiplyHighU32, InstType.CallBinary, "mulhi");
|
||||
Add(Instruction.Negate, InstType.OpUnary, "-");
|
||||
Add(Instruction.ReciprocalSquareRoot, InstType.CallUnary, "rsqrt");
|
||||
Add(Instruction.Return, InstType.OpNullary, "return");
|
||||
|
|
Loading…
Add table
Reference in a new issue