[D3D12] Fix a typo in linear texture address calculation

This commit is contained in:
Triang3l 2018-08-18 18:37:20 +03:00
parent b0dd9b6fd0
commit bd868ae6cc
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ uint4 XeTextureCopyGuestBlockOffsets(uint3 block_index, uint bpb,
block_offsets_guest = block_offsets_guest =
uint4(0u, 1u, 2u, 3u) * bpb + XeTextureGuestLinearOffset( uint4(0u, 1u, 2u, 3u) * bpb + XeTextureGuestLinearOffset(
block_index_guest, xe_texture_copy_size_blocks.y, block_index_guest, xe_texture_copy_size_blocks.y,
xe_texture_copy_guest_pitch, 16u); xe_texture_copy_guest_pitch, bpb);
} }
return block_offsets_guest + xe_texture_copy_guest_base; return block_offsets_guest + xe_texture_copy_guest_base;
} }