Note that this will be just enough that the translation function completes, the generated IR will probably be missing some information.
ah this is to subdivide into suitable milestones. ok.
I got to the point where the first shader completes the translation from SPIR-V to shader-compiler-ir! I ended up using a trivial shader rather than the one I had wanted to use, since I needed to complete this subtask soon. Link to translated output in text form inside test function: https://salsa.debian.org/Kazan-team/kazan/blob/2b4446e37cca1f24d2f910192e92c631b628cdbb/shader-compiler-translate-spirv-to-ir/src/lib.rs#L342 Luke, I'm assuming it's ok with you to assign EUR 2000 to this bug report since I've been working on the code since the middle of December.
Moved the translated output to a separate file, making it easier to read: https://salsa.debian.org/Kazan-team/kazan/blob/5799390caa68e8e242d46b9bb47587e531c50b42/shader-compiler-translate-spirv-to-ir/test_data/trivial_test.kazan-ir Corresponding SPIR-V input: https://salsa.debian.org/Kazan-team/kazan/blob/5799390caa68e8e242d46b9bb47587e531c50b42/shader-compiler-translate-spirv-to-ir/test_data/trivial_test.spv