1
0
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:
Philip Rebohle 2018-03-25 08:38:31 +02:00
parent 4e84a77896
commit 61c55d6f89
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -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);