aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Graphics.GAL/ShaderBindings.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2023-05-21 14:04:21 -0300
committerGitHub <noreply@github.com>2023-05-21 14:04:21 -0300
commit5626f2ca1c49342b20772224f956147df6957b5a (patch)
tree9e60d080754e3686d75cc8606db5967126d2c1b9 /src/Ryujinx.Graphics.GAL/ShaderBindings.cs
parent402f05b8ef013807997589ecc0a8ff50267dcd23 (diff)
Replace ShaderBindings with new ResourceLayout structure for Vulkan (#5025)1.1.812
* Introduce ResourceLayout * Part 1: Use new ResourceSegments array on UpdateAndBind * Part 2: Use ResourceLayout to build PipelineLayout * Delete old code * XML docs * Fix shader cache load NRE * Fix typo
Diffstat (limited to 'src/Ryujinx.Graphics.GAL/ShaderBindings.cs')
-rw-r--r--src/Ryujinx.Graphics.GAL/ShaderBindings.cs24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/Ryujinx.Graphics.GAL/ShaderBindings.cs b/src/Ryujinx.Graphics.GAL/ShaderBindings.cs
deleted file mode 100644
index 6ab29382..00000000
--- a/src/Ryujinx.Graphics.GAL/ShaderBindings.cs
+++ /dev/null
@@ -1,24 +0,0 @@
-using System.Collections.Generic;
-
-namespace Ryujinx.Graphics.GAL
-{
- public readonly struct ShaderBindings
- {
- public IReadOnlyCollection<int> UniformBufferBindings { get; }
- public IReadOnlyCollection<int> StorageBufferBindings { get; }
- public IReadOnlyCollection<int> TextureBindings { get; }
- public IReadOnlyCollection<int> ImageBindings { get; }
-
- public ShaderBindings(
- IReadOnlyCollection<int> uniformBufferBindings,
- IReadOnlyCollection<int> storageBufferBindings,
- IReadOnlyCollection<int> textureBindings,
- IReadOnlyCollection<int> imageBindings)
- {
- UniformBufferBindings = uniformBufferBindings;
- StorageBufferBindings = storageBufferBindings;
- TextureBindings = textureBindings;
- ImageBindings = imageBindings;
- }
- }
-}