This new version of bgfx removes support for D3D9 and WebGPU.
The package has been updated so tools better support cross compilation
by being able to generate a config cmake file which is installed linking
the proper host tools path. Prior to this, it assumed that all hosts
were x64 which prevented cross compiling from apple sillicon and
raspberry pis for example.
- [x] Changes comply with the [maintainer
guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
- [x] SHA512s are updated for each updated download.
- [x] The "supports" clause reflects platforms that may be fixed by this
new version.
- [x] Any fixed [CI
baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt)
entries are removed from that file.
- [x] Any patches that are no longer applied are deleted from the port's
directory.
- [x] The version database is fixed by rerunning `./vcpkg x-add-version
--all` and committing the result.
- [x] Only one version is added to each modified port's versions file.
Use release artifact file for submodules instead of checking them out
manually.
This prevents future mistakes of bad references of submodules.
Future updates will only requires updates to the version and sha.
Remove vendored copies of 3rdparty bimg dependencies.
No more installed 3rdparty static libraries from bimg.
Add `BGFX_CMAKE_USER_SCRIPT` as entry point to change functionality of
bgfx.cmake config without the need for patches.
Insert miniz, tinyexr and libsquish from vcpkg repo into config.
Remove vcpkg's nvtt because bgfx's is completely different.
Co-authored-by: Jonliu1993 <13720414433@163.com>