jp7677 / dxvk-nvapi

Alternative NVAPI implementation on top of DXVK.
MIT License
353 stars 32 forks source link

Support building with MSVC #151

Closed ishitatsuyuki closed 5 months ago

ishitatsuyuki commented 5 months ago

This is a series to support building dxvk-nvapi on MSVC for fun, diversity and binary size reduction. In addition to MSVC, cross compiling from Linux with clang-cl is also supported using https://github.com/mstorsjo/msvc-wine and a cross file like https://gist.github.com/ishitatsuyuki/bfa4b4764394f94b19115b182d269f4e.

Most changes are described in the commit message. This is a list of major breaking changes for those who need to rebase:

ishitatsuyuki commented 5 months ago

Actually, forgot one change to add dllexport to nvapi_queryinterface. One sec.

ishitatsuyuki commented 5 months ago

Thanks for the quick review!