From 654e617fe78b0f5cc86d0bcf0625301abff168f5 Mon Sep 17 00:00:00 2001 From: gdkchan Date: Sun, 29 Dec 2019 14:41:50 -0300 Subject: Some code cleanup --- Ryujinx.Graphics.Gpu/Debugging.cs | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 Ryujinx.Graphics.Gpu/Debugging.cs (limited to 'Ryujinx.Graphics.Gpu/Debugging.cs') diff --git a/Ryujinx.Graphics.Gpu/Debugging.cs b/Ryujinx.Graphics.Gpu/Debugging.cs deleted file mode 100644 index cb99cee1..00000000 --- a/Ryujinx.Graphics.Gpu/Debugging.cs +++ /dev/null @@ -1,25 +0,0 @@ -using System; - -namespace Ryujinx.Graphics.Gpu -{ - static class Debugging - { - public static void PrintTexInfo(string prefix, Image.Texture tex) - { - if (tex == null) - { - Console.WriteLine(prefix + " null"); - - return; - } - - string range = $"{tex.Address:X}..{(tex.Address + tex.Size):X}"; - - int debugId = tex.HostTexture.GetStorageDebugId(); - - string str = $"{prefix} p {debugId:X8} {tex.Info.Target} {tex.Info.FormatInfo.Format} {tex.Info.Width}x{tex.Info.Height}x{tex.Info.DepthOrLayers} mips {tex.Info.Levels} addr {range}"; - - Console.WriteLine(str); - } - } -} \ No newline at end of file -- cgit v1.2.3