| 123456789101112131415161718192021222324252627 |
- namespace Ryujinx.Graphics.Shader
- {
- public readonly struct TextureDescriptor
- {
- // New fields should be added to the end of the struct to keep disk shader cache compatibility.
- public readonly int Binding;
- public readonly SamplerType Type;
- public readonly TextureFormat Format;
- public readonly int CbufSlot;
- public readonly int HandleIndex;
- public readonly TextureUsageFlags Flags;
- public TextureDescriptor(int binding, SamplerType type, TextureFormat format, int cbufSlot, int handleIndex, TextureUsageFlags flags)
- {
- Binding = binding;
- Type = type;
- Format = format;
- CbufSlot = cbufSlot;
- HandleIndex = handleIndex;
- Flags = flags;
- }
- }
- }
|