aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Gpu/Shader/GpuChannelComputeState.cs
diff options
context:
space:
mode:
authorTSR Berry <20988865+TSRBerry@users.noreply.github.com>2023-04-08 01:22:00 +0200
committerMary <thog@protonmail.com>2023-04-27 23:51:14 +0200
commitcee712105850ac3385cd0091a923438167433f9f (patch)
tree4a5274b21d8b7f938c0d0ce18736d3f2993b11b1 /Ryujinx.Graphics.Gpu/Shader/GpuChannelComputeState.cs
parentcd124bda587ef09668a971fa1cac1c3f0cfc9f21 (diff)
Move solution and projects to src
Diffstat (limited to 'Ryujinx.Graphics.Gpu/Shader/GpuChannelComputeState.cs')
-rw-r--r--Ryujinx.Graphics.Gpu/Shader/GpuChannelComputeState.cs65
1 files changed, 0 insertions, 65 deletions
diff --git a/Ryujinx.Graphics.Gpu/Shader/GpuChannelComputeState.cs b/Ryujinx.Graphics.Gpu/Shader/GpuChannelComputeState.cs
deleted file mode 100644
index b65dd75e..00000000
--- a/Ryujinx.Graphics.Gpu/Shader/GpuChannelComputeState.cs
+++ /dev/null
@@ -1,65 +0,0 @@
-namespace Ryujinx.Graphics.Gpu.Shader
-{
- /// <summary>
- /// State used by the <see cref="GpuAccessor"/>.
- /// </summary>
- readonly struct GpuChannelComputeState
- {
- // New fields should be added to the end of the struct to keep disk shader cache compatibility.
-
- /// <summary>
- /// Local group size X of the compute shader.
- /// </summary>
- public readonly int LocalSizeX;
-
- /// <summary>
- /// Local group size Y of the compute shader.
- /// </summary>
- public readonly int LocalSizeY;
-
- /// <summary>
- /// Local group size Z of the compute shader.
- /// </summary>
- public readonly int LocalSizeZ;
-
- /// <summary>
- /// Local memory size of the compute shader.
- /// </summary>
- public readonly int LocalMemorySize;
-
- /// <summary>
- /// Shared memory size of the compute shader.
- /// </summary>
- public readonly int SharedMemorySize;
-
- /// <summary>
- /// Indicates that any storage buffer use is unaligned.
- /// </summary>
- public readonly bool HasUnalignedStorageBuffer;
-
- /// <summary>
- /// Creates a new GPU compute state.
- /// </summary>
- /// <param name="localSizeX">Local group size X of the compute shader</param>
- /// <param name="localSizeY">Local group size Y of the compute shader</param>
- /// <param name="localSizeZ">Local group size Z of the compute shader</param>
- /// <param name="localMemorySize">Local memory size of the compute shader</param>
- /// <param name="sharedMemorySize">Shared memory size of the compute shader</param>
- /// <param name="hasUnalignedStorageBuffer">Indicates that any storage buffer use is unaligned</param>
- public GpuChannelComputeState(
- int localSizeX,
- int localSizeY,
- int localSizeZ,
- int localMemorySize,
- int sharedMemorySize,
- bool hasUnalignedStorageBuffer)
- {
- LocalSizeX = localSizeX;
- LocalSizeY = localSizeY;
- LocalSizeZ = localSizeZ;
- LocalMemorySize = localMemorySize;
- SharedMemorySize = sharedMemorySize;
- HasUnalignedStorageBuffer = hasUnalignedStorageBuffer;
- }
- }
-} \ No newline at end of file