See https://gitlab.winehq.org/shaunren/vkd3d/-/tree/hs-basic/part-3/for-review for part 2 of the implementation.
Split from !1018 (closed).