On Tue Nov 22 12:25:47 2022 +0000, Henri Verbeet wrote:
Shared SPIRV-Tools is not shipped by Debian Bullseye, and is broken if
built manually. Is that a regression? I'm using a build of shared SPIRV-Tools I made myself, and it seems to work fine, although it's an older (v2019.5) version. We may also want to consider simply getting rid of the SPIRV-Tools dependency. Parsing SPIR-V isn't that complicated, the SPIRV-Tools dependency has always been a bit of a pain, and it would simplify things a bit for Wine's usage of vkd3d.
Last time I tried I could build vkd3d with SPIRV-Tools by just editing the configuration line in the Debian package and rebuilding it, and then rebuilding vkd3d. I saw no breakages.
Though since the shared library is not available on Debian (and, I suppose, on many derivatives) by default, it makes sense to me to use it statically.
It would be even better if SPIRV-Tools was available as a shared library, but that's not for us to decide.