Bug 177

Summary: implement enough of #161 to translate basic shader to shader-compiler-ir
Product: Libre-SOC's first SoC Reporter: Jacob Lifshay <programmerjake>
Component: Source CodeAssignee: Jacob Lifshay <programmerjake>
Status: PAYMENTPENDING FIXED    
Severity: enhancement CC: libre-soc-bugs, lkcl, programmerjake
Priority: ---    
Version: unspecified   
Hardware: All   
OS: All   
NLnet milestone: NLnet.2019.02.012 total budget (EUR) for completion of task and all subtasks: 2000
budget (EUR) for this task, excluding subtasks' budget: 2000 parent task for budget allocation: 161
child tasks for budget allocation: The table of payments (in EUR) for this task; TOML format:
programmerjake={amount=2000,paid=2020-02-28}
Bug Depends on:    
Bug Blocks: 161    

Description Jacob Lifshay 2020-02-11 10:15:44 GMT

    
Comment 1 Jacob Lifshay 2020-02-11 18:53:57 GMT
Note that this will be just enough that the translation function completes, the generated IR will probably be missing some information.
Comment 2 Luke Kenneth Casson Leighton 2020-02-12 04:30:09 GMT
ah this is to subdivide into suitable milestones. ok.
Comment 3 Jacob Lifshay 2020-02-14 07:19:11 GMT
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.