mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-03-25 09:10:18 +00:00
* Implement Load/Store Local/Shared and Atomic shared using new instructions * Remove now unused code * Fix base offset register overwrite * Fix missing storage buffer set index when generating GLSL for Vulkan * Shader cache version bump * Remove more unused code * Some PR feedback
18 lines
No EOL
458 B
C#
18 lines
No EOL
458 B
C#
using Ryujinx.Graphics.Shader.Translation;
|
|
|
|
namespace Ryujinx.Graphics.Shader.StructuredIr
|
|
{
|
|
readonly struct MemoryDefinition
|
|
{
|
|
public string Name { get; }
|
|
public AggregateType Type { get; }
|
|
public int ArrayLength { get; }
|
|
|
|
public MemoryDefinition(string name, AggregateType type, int arrayLength = 1)
|
|
{
|
|
Name = name;
|
|
Type = type;
|
|
ArrayLength = arrayLength;
|
|
}
|
|
}
|
|
} |