[D3D12] Don't 4KB-align sizes of resolve destinations

This commit is contained in:
Triang3l
2018-12-13 15:22:16 +03:00
parent 2b55ec86ea
commit 952819ed87
4 changed files with 12 additions and 6 deletions

View File

@@ -1091,7 +1091,7 @@ bool TextureCache::TileResolvedTexture(
offset_y &= 31;
uint32_t texture_size = texture_util::GetGuestMipSliceStorageSize(
texture_pitch, xe::align(offset_y + resolve_height, 32u), 1, true, format,
nullptr);
nullptr, false);
if (texture_size == 0) {
return true;
}