mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-02 19:24:12 +01:00
[d3d11] Get rid of redundant format query
This commit is contained in:
parent
4e84a77896
commit
61c55d6f89
@ -1748,8 +1748,6 @@ namespace dxvk {
|
||||
subresources.baseArrayLayer = 0;
|
||||
subresources.layerCount = image->info().numLayers;
|
||||
|
||||
const DxvkFormatInfo* formatInfo = imageFormatInfo(image->info().format);
|
||||
|
||||
if (formatInfo->flags.test(DxvkFormatFlag::BlockCompressed)) {
|
||||
m_resourceInitContext->initImage(
|
||||
image, subresources);
|
||||
|
Loading…
Reference in New Issue
Block a user