mirror of
https://github.com/par274/sharpemu.git
synced 2026-07-22 19:06:15 +08:00
Gate Vulkan texture upload traces (#220)
Co-authored-by: Dafenx <196083014+Dafenxz0@users.noreply.github.com>
This commit is contained in:
@@ -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} " +
|
||||
|
||||
Reference in New Issue
Block a user