Package: wnpp Severity: wishlist Control: block -1 by 1095077 X-Debbugs-Cc: debian-devel@lists.debian.org, debian-devel-ga...@lists.debian.org
* Package name : libsdl3-shadercross Version : 3~git20250202 Upstream Contact: Sam Lantinga / SDL team * URL : https://github.com/libsdl-org/SDL_shadercross * License : Zlib Programming Lang: C Description : Shader format translation library for SDL SDL_shadercross is a library for translating shaders to different formats, intended for use with SDL's GPU API. It takes SPIRV or HLSL as the source and outputs DXBC, DXIL, SPIRV, MSL, or HLSL. shadercross is a command-line tool for offline translation of shaders. --- If this is packaged, then I think it should be maintained in the SDL team. I have pushed initial packaging to https://salsa.debian.org/sdl-team/libsdl3-shadercross but it doesn't compile successfully: I think it might need a newer version of SPIRV-Cross, or reconfiguring to include and use upstream's vendored version. I don't really know how this topic works, and I would be delighted to hand off responsibility for it to someone else, but preferably within the team (new team members welcome). To have a useful level of functionality, this is going to need Microsoft's DirectX shader compiler (for which see #1095077). Sorry, I am unable to package or maintain that. The recent upstream preview release of libsdl3-ttf requires this in order to compile an example program's required shaders from its HLSL source to SPIRV; upstream includes precompiled copies of the necessary SPIRV binaries in the source tree, but my understanding is that many Debian contributors would consider it to be unacceptable to use these, so I'm going to try to avoid the shadercross dependency by patching the build to use a different shader compiler. This is several yaks away from my actual goal (updating libsdl3-ttf) hence RFP rather than ITP. Thanks, smcv