| 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 Code | Assignee: | 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
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 |