Repository navigation
[bgfx] New dependencies following webgpu backend #53949
Replies: 2 comments 1 reply
|
I would avoid creating a standalone For an overlay updating bgfx, I would mirror the upstream bgfx/Dawn revision relationship and keep the matching third-party sources pinned in the portfile, using vcpkg helpers such as A separate vcpkg |
I was thinking of doing this at first, but then why would we go through the trouble of doing this in a 3rd party dir from vcpkg ? The 3rd party sources are already present in bgfx source code. The devendoring PR #47441 removes them, but we might as well keep them for the tint dependency in shaderc, since we can't easily have that with a vcpkg port. This would mean keeping the spirv-tools 3rdparty from bgfx that is currently removed and keep the other removals intact. |
Uh oh!
There was an error while loading. Please reload this page.
Hi, I am trying to update bgfx's port to
1.161.9495-578in my project's vcpkg_overlay but having a dependency problem.The new webgpu backend uses dawn's tint compiler (in shaderc). My first attempt to simply use the 3rd party dawn from bgfx fails because tint includes spirv-tools internal source headers, which are not present in vcpkg bgfx port.
I was wondering what was the best way of handling this. Dawn vcpkg port does not seem to install tint, and gets the spirv-tools internal sources by downloading them directly it seems. Should the same be done for bgfx ? Or maybe an independent tint vcpkg port ?
Thanks in advance,
All reactions