microsoft / DirectXTex

DirectXTex texture processing library
https://walbourn.github.io/directxtex/
MIT License
1.74k stars 426 forks source link

I need pre-compiled shaders #444

Closed JPeterMugaas closed 5 months ago

JPeterMugaas commented 5 months ago

On MINGW, we do not have Microsoft's fxc.exe compiler. The only fxc.exe available for MINGW seems to be inadequate for the purpose.

Thus, I need precompiled shaders so that I can try to build DirectXTex with support for the DX11 run-time, build the ddsviewer sample program, and run tests involving the loaders ( https://github.com/walbourn/directxtextest ).

Thanks.

walbourn commented 5 months ago

The official story here is use MinGW from a command prompt that includes FXC.EXE which is included in the Windows SDK. Otherwise you have to set BUILD_DX11 to OFF.

JPeterMugaas commented 5 months ago

I have gone ahead and updated the CMakeLists.txt file to explain the situation breifly. See: https://github.com/microsoft/DirectXTex/pull/446 .

JPeterMugaas commented 5 months ago

I am not entirely convinced that I require the Windows SDK to compile the shaders. See the PR that I made ( https://github.com/microsoft/DirectXTex/pull/447 ).