Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The D3D12_SUBRESOURCE_FOOTPRINT was calculated incorrectly by multipl…
…ying the height by the block count. DirectX automatically takes format into account because it's passed into the footprint. Only the block width is necessary to compute the pitch or linear size. This prevents a crash when using `Queue::write_texture` with a block compressed texture.
- Loading branch information