namespace Ryujinx.Graphics.Gpu.Shader.DiskCache { /// /// Guest shader code and constant buffer data accessed by the shader. /// readonly struct GuestCodeAndCbData { /// /// Maxwell binary shader code. /// public byte[] Code { get; } /// /// Constant buffer 1 data accessed by the shader. /// public byte[] Cb1Data { get; } /// /// Creates a new instance of the guest shader code and constant buffer data. /// /// Maxwell binary shader code /// Constant buffer 1 data accessed by the shader public GuestCodeAndCbData(byte[] code, byte[] cb1Data) { Code = code; Cb1Data = cb1Data; } } }