mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-11-15 01:25:25 +00:00
Fix ShaderTools
This commit is contained in:
parent
92703af555
commit
23d8516763
|
@ -18,9 +18,9 @@ namespace Ryujinx.ShaderTools
|
||||||
flags |= TranslationFlags.Compute;
|
flags |= TranslationFlags.Compute;
|
||||||
}
|
}
|
||||||
|
|
||||||
byte[] data = File.ReadAllBytes(args[args.Length - 1]);
|
byte[] data = File.ReadAllBytes(args[^1]);
|
||||||
|
|
||||||
string code = Translator.Translate(data, null, flags).Code;
|
string code = Translator.Translate(data, new TranslatorCallbacks(null, null), flags).Code;
|
||||||
|
|
||||||
Console.WriteLine(code);
|
Console.WriteLine(code);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue