[Bug 51575] New: Texconv fails with mipmap error unless "-nowic" is supplied to disable WIC use

WineHQ Bugzilla wine-bugs at winehq.org
Sat Aug 7 16:48:12 CDT 2021


https://bugs.winehq.org/show_bug.cgi?id=51575

            Bug ID: 51575
           Summary: Texconv fails with mipmap error unless "-nowic" is
                    supplied to disable WIC use
           Product: Wine
           Version: 6.14
          Hardware: x86-64
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: windowscodecs
          Assignee: wine-bugs at winehq.org
          Reporter: winebugs at 63bit.net
      Distribution: ---

Texconv.exe returns mysterious errors about mipmaps if "-nowic" is not passed.
This appears to be some problem in the interaction between windowscodecs.dll
and texconv mipmap level detection.

Example (probably any DDS will work to repro):
Texconv.exe -nologo -y -sepalpha  -f BC7_UNORM -bc q -o "C:\blah\out"
"C:\blah\TamrielTreeLod.dds"

returns FAILED [mipmaps] (80070057: Invalid parameter.)

Source for texconv is here:
https://github.com/microsoft/DirectXTex/blob/54ce2c8da97c3508899c31f80bfb1ecdedd8207a/Texconv/texconv.cpp

Binary is available here:
https://github.com/microsoft/DirectXTex/releases/tag/aug2021

Passing "-nowic" parameter succeeds, causing me to suspect windowscodecs.dll

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list