aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Gpu/Shader/CachedShader.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2020-05-05 22:02:28 -0300
committerGitHub <noreply@github.com>2020-05-06 11:02:28 +1000
commitb8eb6abeccbd4a468214a4d2ad3a9b6e5e06973c (patch)
treecd3d71ebde0f4f32eb674778adae89c0efcb75df /Ryujinx.Graphics.Gpu/Shader/CachedShader.cs
parent7f500e7cae940958289abe1a3461e52684742053 (diff)
Refactor shader GPU state and memory access (#1203)
* Refactor shader GPU state and memory access * Fix NVDEC project build * Address PR feedback and add missing XML comments
Diffstat (limited to 'Ryujinx.Graphics.Gpu/Shader/CachedShader.cs')
-rw-r--r--Ryujinx.Graphics.Gpu/Shader/CachedShader.cs37
1 files changed, 0 insertions, 37 deletions
diff --git a/Ryujinx.Graphics.Gpu/Shader/CachedShader.cs b/Ryujinx.Graphics.Gpu/Shader/CachedShader.cs
deleted file mode 100644
index f8494045..00000000
--- a/Ryujinx.Graphics.Gpu/Shader/CachedShader.cs
+++ /dev/null
@@ -1,37 +0,0 @@
-using Ryujinx.Graphics.GAL;
-using Ryujinx.Graphics.Shader;
-
-namespace Ryujinx.Graphics.Gpu.Shader
-{
- /// <summary>
- /// Cached shader code for a single shader stage.
- /// </summary>
- class CachedShader
- {
- /// <summary>
- /// Shader program containing translated code.
- /// </summary>
- public ShaderProgram Program { get; }
-
- /// <summary>
- /// Host shader object.
- /// </summary>
- public IShader HostShader { get; set; }
-
- /// <summary>
- /// Maxwell binary shader code.
- /// </summary>
- public int[] Code { get; }
-
- /// <summary>
- /// Creates a new instace of the cached shader.
- /// </summary>
- /// <param name="program">Shader program</param>
- /// <param name="code">Maxwell binary shader code</param>
- public CachedShader(ShaderProgram program, int[] code)
- {
- Program = program;
- Code = code;
- }
- }
-} \ No newline at end of file