Commit Graph

22 Commits

Author SHA1 Message Date
khyperia
abdfa35cce Document the remove_duplicate_types functioin 2020-09-22 17:41:57 +02:00
khyperia
a3f859afa5 Simplify remove_duplicate_types 2020-09-22 17:26:17 +02:00
khyperia
0b5a02def0 Print full types to figure out errors better 2020-09-22 13:35:43 +02:00
khyperia
ec49140058 Move zombie pass to linker 2020-09-22 12:59:23 +02:00
Jasper Bekkers
7e1e753c59
Fix clippy warnings 2020-09-22 09:11:02 +02:00
Jasper Bekkers
3eaa45cc52
Fmt 2020-09-22 09:00:14 +02:00
Jasper Bekkers
9697c22740
Linker perf (#33)
* Improve linker performance - this should loop over data significantly less

* Remove Rc and RefCell because they weren't needed in the end

* Moved some code into a DefUseAnalyer

* Point to same rspirv

* Link to rspirv git instead of locally
2020-09-17 10:55:44 +02:00
Jasper Bekkers
3bba335477
Add binary back 2020-09-14 12:18:04 +01:00
khyperia
c5dfee6e1e Start work on integrating linker 2020-09-11 13:09:06 +02:00
Jasper Bekkers
0c64a5eb33
Proper type checking 2020-09-04 15:35:04 +01:00
Jasper Bekkers
470c2ff2e2
Test case for OpGroupDecorate 2020-09-04 15:35:03 +01:00
Jasper Bekkers
92feaf36f0
Enable test func_ctrl 2020-09-04 15:35:03 +01:00
Jasper Bekkers
9cdf751643
Add another failing testcase 2020-09-03 18:00:38 +01:00
Jasper Bekkers
cc77d911d3
Add a bunch of test cases from spirv-linker and bug fixes to make these test cases work 2020-09-03 17:58:52 +01:00
Jasper Bekkers
733008a993
Add some tests 2020-09-03 17:58:51 +01:00
Jasper Bekkers
1f4a2d0eb0
Add spirv header 2020-09-03 17:58:51 +01:00
Jasper Bekkers
8a71903c2e
Formatting 2020-09-02 15:16:13 +01:00
Jasper Bekkers
dfb0db67a0
Compact ids 2020-09-02 14:11:42 +01:00
Jasper Bekkers
e08ad8ca4e
Drop linkage related OpDecorates, import functions/variables and OpCapability Linkage 2020-09-02 14:11:42 +01:00
Jasper Bekkers
65dd2f1149
Cleanup import/export pair matching, strip annotations for imports and replace all uses of imported symbol with the exported symbol 2020-09-02 14:11:41 +01:00
Jasper Bekkers
f11a49619a
Check for import/export type matches 2020-09-02 14:11:41 +01:00
Jasper Bekkers
52084da4b0
Basic steps on linker 2020-09-01 22:58:26 +01:00