[D3D12] Slightly better logging

This commit is contained in:
Triang3l
2018-09-19 16:49:37 +03:00
parent fdd536f572
commit ed66694319
2 changed files with 12 additions and 2 deletions

View File

@@ -1111,8 +1111,8 @@ void TextureCache::WatchCallback(Texture* texture, bool is_mip) {
texture->base_in_sync = false;
texture->base_watch_handle = nullptr;
}
XELOGE("Texture %s at %.8X invalidated", is_mip ? "mips" : "base",
(is_mip ? texture->key.mip_page : texture->key.base_page) << 12);
XELOGGPU("Texture %s at 0x%.8X invalidated", is_mip ? "mips" : "base",
(is_mip ? texture->key.mip_page : texture->key.base_page) << 12);
texture_invalidated_.store(true, std::memory_order_relaxed);
}