[Vulkan] More details in texture upload logging.

This commit is contained in:
gibbed 2018-05-30 18:19:37 -05:00
parent 6b2f75219c
commit 7068d0a5a9
1 changed files with 5 additions and 5 deletions

View File

@ -1002,10 +1002,10 @@ bool TextureCache::UploadTexture(VkCommandBuffer command_buffer,
size_t unpack_length = ComputeTextureStorage(src); size_t unpack_length = ComputeTextureStorage(src);
XELOGGPU( XELOGGPU(
"Uploading texture @ 0x%.8X (%dx%d, length: 0x%.8X, format: %s, dim: %s, " "Uploading texture @ 0x%.8X (%dx%dx%d, length: 0x%.8X, format: %s, dim: "
"levels: %d, tiled: %s)", "%s, levels: %d, tiled: %s)",
src.guest_address, src.width + 1, src.height + 1, unpack_length, src.guest_address, src.width + 1, src.height + 1, src.depth + 1,
src.format_info()->name, get_dimension_name(src.dimension), unpack_length, src.format_info()->name, get_dimension_name(src.dimension),
src.mip_levels, src.is_tiled ? "yes" : "no"); src.mip_levels, src.is_tiled ? "yes" : "no");
if (!unpack_length) { if (!unpack_length) {
@ -1353,7 +1353,7 @@ VkDescriptorSet TextureCache::PrepareTextureSet(
update_set_info, pixel_bindings) || update_set_info, pixel_bindings) ||
any_failed; any_failed;
if (any_failed) { if (any_failed) {
XELOGW("Failed to setup one or more texture bindings"); XELOGW("Failed to setup one or more texture bindings!");
// TODO(benvanik): actually bail out here? // TODO(benvanik): actually bail out here?
} }