At some point I would like to have an assembler for TPF, so that it's easier to write and modify tests. This is a first step in that direction, fixing some kind of format for serializing signatures in the comment at the beginning of the assembler code. ~~I'm not decided yet on all details, so take this as an RFC for the moment.~~
--
v14: tests: Test emitting the signature.
vkd3d-compiler: Add an option to emit the signature when disassembling.
vkd3d-shader/d3d-asm: Support emitting the shader signature.
https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/553
> > I imagine this is to make vkd3d_shader_scan() more similar to vkd3d_shader_compile(), but I think vkd3d_unreachable() is worse than the existing code.
>
> Even if the source type is already validated by `vkd3d_shader_validate_compile_info()`? Which use do you see into validating the source type twice?
It's more about disliking vkd3d_unreachable()/abort(). That's a discussion we've had a few times before, of course; what's different this time is that we've seen a number of bugs come in through WineHQ Bugzilla with assertions failing inside vkd3d-shader since the last time we had that discussion.
--
https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/679#note_63881
This is the first set of patches in an effort to create more generic image loading/conversion code that can eventually be shared.
--
v4: d3dx9: Preserve the contents of unaligned compressed destination surfaces.
d3dx9: Split off image decompression into a helper function.
d3dx9: Split D3DXLoadSurfaceFromMemory functionality into a separate function.
d3dx9: Use base image pointer when decompressing source image.
d3dx9/tests: Add more tests for misaligned compressed surface loading.
https://gitlab.winehq.org/wine/wine/-/merge_requests/5202