aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Gpu/Image/TextureDescriptor.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.Graphics.Gpu/Image/TextureDescriptor.cs')
-rw-r--r--Ryujinx.Graphics.Gpu/Image/TextureDescriptor.cs19
1 files changed, 0 insertions, 19 deletions
diff --git a/Ryujinx.Graphics.Gpu/Image/TextureDescriptor.cs b/Ryujinx.Graphics.Gpu/Image/TextureDescriptor.cs
index 62862e74..73b1232e 100644
--- a/Ryujinx.Graphics.Gpu/Image/TextureDescriptor.cs
+++ b/Ryujinx.Graphics.Gpu/Image/TextureDescriptor.cs
@@ -242,25 +242,6 @@ namespace Ryujinx.Graphics.Gpu.Image
}
/// <summary>
- /// Create the equivalent of this TextureDescriptor for the shader cache.
- /// </summary>
- /// <returns>The equivalent of this TextureDescriptor for the shader cache.</returns>
- public GuestTextureDescriptor ToCache()
- {
- GuestTextureDescriptor result = new GuestTextureDescriptor
- {
- Handle = uint.MaxValue,
- Format = UnpackFormat(),
- Target = UnpackTextureTarget(),
- IsSrgb = UnpackSrgb(),
- IsTextureCoordNormalized = UnpackTextureCoordNormalized(),
-
- };
-
- return result;
- }
-
- /// <summary>
/// Check if two descriptors are equal.
/// </summary>
/// <param name="other">The descriptor to compare against</param>