From 2196a1f786b3a923cc5e190749e2a959adde930f Mon Sep 17 00:00:00 2001 From: Dafenx Date: Thu, 16 Jul 2026 15:19:11 +0200 Subject: [PATCH] Gate Vulkan texture upload traces (#220) Co-authored-by: Dafenx <196083014+Dafenxz0@users.noreply.github.com> --- src/SharpEmu.Libs/VideoOut/VulkanVideoPresenter.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/SharpEmu.Libs/VideoOut/VulkanVideoPresenter.cs b/src/SharpEmu.Libs/VideoOut/VulkanVideoPresenter.cs index 2b1574f2..9479e23d 100644 --- a/src/SharpEmu.Libs/VideoOut/VulkanVideoPresenter.cs +++ b/src/SharpEmu.Libs/VideoOut/VulkanVideoPresenter.cs @@ -6839,7 +6839,8 @@ internal static unsafe class VulkanVideoPresenter var vkFormat = GetTextureFormat(texture.Format, texture.NumberType); var expectedSize = GetTextureByteCount(texture.Format, rowLength, height); - if (_tracedTextureUploads.Add((texture.Address, width, height, vkFormat))) + if (ShouldTraceVulkanResources() && + _tracedTextureUploads.Add((texture.Address, width, height, vkFormat))) { Console.Error.WriteLine( $"[LOADER][TRACE] vk.texture addr=0x{texture.Address:X16} " +