mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-02-20 19:54:19 +01:00
[d3d11] Fix image format mapping when creating mapped buffer
This commit is contained in:
parent
7cd3e9a0d4
commit
8194bec1bf
@ -406,7 +406,7 @@ namespace dxvk {
|
||||
|
||||
Rc<DxvkBuffer> D3D11CommonTexture::CreateMappedBuffer() const {
|
||||
const DxvkFormatInfo* formatInfo = imageFormatInfo(
|
||||
m_device->LookupFormat(m_desc.Format, GetFormatMode()).Format);
|
||||
m_device->LookupPackedFormat(m_desc.Format, GetFormatMode()).Format);
|
||||
|
||||
const VkExtent3D blockCount = util::computeBlockCount(
|
||||
VkExtent3D { m_desc.Width, m_desc.Height, m_desc.Depth },
|
||||
|
Loading…
x
Reference in New Issue
Block a user