From cee712105850ac3385cd0091a923438167433f9f Mon Sep 17 00:00:00 2001
From: TSR Berry <20988865+TSRBerry@users.noreply.github.com>
Date: Sat, 8 Apr 2023 01:22:00 +0200
Subject: Move solution and projects to src
---
.../Shader/DiskCache/GuestCodeAndCbData.cs | 29 ++++++++++++++++++++++
1 file changed, 29 insertions(+)
create mode 100644 src/Ryujinx.Graphics.Gpu/Shader/DiskCache/GuestCodeAndCbData.cs
(limited to 'src/Ryujinx.Graphics.Gpu/Shader/DiskCache/GuestCodeAndCbData.cs')
diff --git a/src/Ryujinx.Graphics.Gpu/Shader/DiskCache/GuestCodeAndCbData.cs b/src/Ryujinx.Graphics.Gpu/Shader/DiskCache/GuestCodeAndCbData.cs
new file mode 100644
index 00000000..959d6e18
--- /dev/null
+++ b/src/Ryujinx.Graphics.Gpu/Shader/DiskCache/GuestCodeAndCbData.cs
@@ -0,0 +1,29 @@
+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;
+ }
+ }
+}
\ No newline at end of file
--
cgit v1.2.3