Add a pass to turn global memory access into storage access, and do all storage related transformations on IR
This commit is contained in:
parent
396768f3b4
commit
6a98c643ca
28 changed files with 532 additions and 282 deletions
|
@ -1,4 +1,5 @@
|
|||
using Ryujinx.Graphics.Shader.Translation;
|
||||
using Ryujinx.Graphics.Shader;
|
||||
using Ryujinx.Graphics.Shader.Translation;
|
||||
using System;
|
||||
using System.IO;
|
||||
|
||||
|
@ -19,7 +20,7 @@ namespace Ryujinx.ShaderTools
|
|||
|
||||
byte[] data = File.ReadAllBytes(args[args.Length - 1]);
|
||||
|
||||
string code = Translator.Translate(data, flags).Code;
|
||||
string code = Translator.Translate(data, ShaderCapabilities.Default, flags).Code;
|
||||
|
||||
Console.WriteLine(code);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue