diff --git a/DirectXTex/DirectXTexD3D11.cpp b/DirectXTex/DirectXTexD3D11.cpp index 45974dc..7b56403 100644 --- a/DirectXTex/DirectXTexD3D11.cpp +++ b/DirectXTex/DirectXTexD3D11.cpp @@ -260,6 +260,11 @@ bool DirectX::IsSupportedTexture( formatSupport = 0; } + if (metadata.mipLevels > 1 && !(formatSupport & D3D11_FORMAT_SUPPORT_MIP)) + { + return false; + } + switch (metadata.dimension) { case TEX_DIMENSION_TEXTURE1D: