Bug 177 - implement enough of #161 to translate basic shader to shader-compiler-ir
Summary: implement enough of #161 to translate basic shader to shader-compiler-ir
Status: PAYMENTPENDING FIXED
Alias: None
Product: Libre-SOC's first SoC
Classification: Unclassified
Component: Source Code (show other bugs)
Version: unspecified
Hardware: All All
: --- enhancement
Assignee: Jacob Lifshay
URL:
Depends on:
Blocks: 161
  Show dependency treegraph
 
Reported: 2020-02-11 10:15 GMT by Jacob Lifshay
Modified: 2021-06-18 19:10 BST (History)
3 users (show)

See Also:
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}


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.