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
|
@ -6,6 +6,8 @@ namespace Ryujinx.Graphics.Shader
|
|||
{
|
||||
public ShaderStage Stage { get; }
|
||||
|
||||
public ShaderCapabilities Capabilities { get; }
|
||||
|
||||
public TranslationFlags Flags { get; }
|
||||
|
||||
public int MaxOutputVertices { get; }
|
||||
|
@ -13,12 +15,14 @@ namespace Ryujinx.Graphics.Shader
|
|||
public OutputTopology OutputTopology { get; }
|
||||
|
||||
public ShaderConfig(
|
||||
ShaderStage stage,
|
||||
TranslationFlags flags,
|
||||
int maxOutputVertices,
|
||||
OutputTopology outputTopology)
|
||||
ShaderStage stage,
|
||||
ShaderCapabilities capabilities,
|
||||
TranslationFlags flags,
|
||||
int maxOutputVertices,
|
||||
OutputTopology outputTopology)
|
||||
{
|
||||
Stage = stage;
|
||||
Capabilities = capabilities;
|
||||
Flags = flags;
|
||||
MaxOutputVertices = maxOutputVertices;
|
||||
OutputTopology = outputTopology;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue