mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-14 10:26:42 +00:00
48f6570557
Here come Salieri, my implementation of a disk shader cache! "I'm sure you know why I named it that." "It doesn't really mean anything." This implementation collects shaders at runtime and cache them to be later compiled when starting a game.
14 lines
No EOL
287 B
C#
14 lines
No EOL
287 B
C#
namespace Ryujinx.Graphics.Shader
|
|
{
|
|
public struct BufferDescriptor
|
|
{
|
|
public readonly int Binding;
|
|
public readonly int Slot;
|
|
|
|
public BufferDescriptor(int binding, int slot)
|
|
{
|
|
Binding = binding;
|
|
Slot = slot;
|
|
}
|
|
}
|
|
} |